summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorscott Chacon <schacon@agadorsparticus.(none)>2007-11-20 08:54:45 -0800
committerscott Chacon <schacon@agadorsparticus.(none)>2007-11-20 08:54:45 -0800
commit13f7daaf27656fefe4c266e9b53a53010caf4177 (patch)
tree722629d1402ade29dd19e705ee05cf326e1526ee /README
parent2cee414891f2c47c3ee9b7751149f1e0317d9deb (diff)
downloadthird_party-ruby-git-13f7daaf27656fefe4c266e9b53a53010caf4177.tar.gz
third_party-ruby-git-13f7daaf27656fefe4c266e9b53a53010caf4177.tar.xz
third_party-ruby-git-13f7daaf27656fefe4c266e9b53a53010caf4177.zip
i now have the gitweb view page running off only 2 git calls
Diffstat (limited to 'README')
-rw-r--r--README3
1 files changed, 1 insertions, 2 deletions
diff --git a/README b/README
index 816e955..e71ec68 100644
--- a/README
+++ b/README
@@ -59,8 +59,7 @@ First you have to remember to require rubygems if it's not. Then include the 'g
Here are the operations that need read permission only.
- g = Git.open (working_dir = '.')
- (git_dir, index_file)
+ g = Git.open (working_dir, :log => Logger.new(STDOUT))
g.index
g.index.readable?