summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
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?