Skip to content

Commit 099f60d

Browse files
committed
Merge commit 'eric/master'
2 parents 1d84579 + f6a6486 commit 099f60d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/git/stashes.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ def each
4141
end
4242
end
4343

44-
def [](symbol)
45-
@stashes[symbol.to_s]
44+
def [](index)
45+
@stashes[index.to_i]
4646
end
4747

4848
end

0 commit comments

Comments
 (0)