summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Chacon <schacon@gmail.com>2008-03-08 18:15:55 -0800
committerScott Chacon <schacon@gmail.com>2008-03-08 18:15:55 -0800
commit099f60dd07aeefd31c94eae532db97e811562fb7 (patch)
tree9327790faea3e7c23332eaa1456700fcf1ce8b63
parent1d845799ebc05bee9e3a68b7ad9dd5015277ca41 (diff)
parentf6a6486283ca07398945284f48511ce0fb6d3427 (diff)
downloadthird_party-ruby-git-099f60dd07aeefd31c94eae532db97e811562fb7.zip
third_party-ruby-git-099f60dd07aeefd31c94eae532db97e811562fb7.tar.gz
third_party-ruby-git-099f60dd07aeefd31c94eae532db97e811562fb7.tar.xz
Merge commit 'eric/master'
-rw-r--r--lib/git/stashes.rb4
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