summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README2
1 files changed, 1 insertions, 1 deletions
diff --git a/README b/README
index fa18dc1..e881eb2 100644
--- a/README
+++ b/README
@@ -28,7 +28,7 @@ require 'git'
# needs read permission only
-g = Git.new (working_dir = '.')
+g = Git.open (working_dir = '.')
(git_dir, index_file)
g.index