Permalink
Browse files

No method get_entry for index.

  • Loading branch information...
1 parent ebcacac commit 89dbfe02a54199c9bbab108ecea1fb964d7712cf @DawidJanczak DawidJanczak committed Mar 23, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
@@ -294,10 +294,10 @@ index.entries
index.each { |i| puts i.inspect }
# Get a particular entry in the index.
-index.get_entry(path)
+index[path]
# Unstage.
-index.remove(i/path)
+index.remove(path)
# Stage. Also updates existing entry if there is one.
index.add(ientry)

0 comments on commit 89dbfe0

Please sign in to comment.