Skip to content

Commit

Permalink
No method get_entry for index.
Browse files Browse the repository at this point in the history
  • Loading branch information
DawidJanczak committed Mar 23, 2013
1 parent ebcacac commit 89dbfe0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -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)
Expand Down

0 comments on commit 89dbfe0

Please sign in to comment.