diff options
author | Scott Chacon <schacon@gmail.com> | 2008-03-08 18:15:55 -0800 |
---|---|---|
committer | Scott Chacon <schacon@gmail.com> | 2008-03-08 18:15:55 -0800 |
commit | 099f60dd07aeefd31c94eae532db97e811562fb7 (patch) | |
tree | 9327790faea3e7c23332eaa1456700fcf1ce8b63 /lib | |
parent | 1d845799ebc05bee9e3a68b7ad9dd5015277ca41 (diff) | |
parent | f6a6486283ca07398945284f48511ce0fb6d3427 (diff) | |
download | third_party-ruby-git-099f60dd07aeefd31c94eae532db97e811562fb7.tar.gz third_party-ruby-git-099f60dd07aeefd31c94eae532db97e811562fb7.tar.xz third_party-ruby-git-099f60dd07aeefd31c94eae532db97e811562fb7.zip |
Merge commit 'eric/master'
Diffstat (limited to 'lib')
-rw-r--r-- | lib/git/stashes.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/git/stashes.rb b/lib/git/stashes.rb index 78b1d59..e1287a5 100644 --- a/lib/git/stashes.rb +++ b/lib/git/stashes.rb @@ -41,8 +41,8 @@ module Git end end - def [](symbol) - @stashes[symbol.to_s] + def [](index) + @stashes[index.to_i] end end |