summaryrefslogtreecommitdiffstats
path: root/lib/git/branches.rb
diff options
context:
space:
mode:
authorscott Chacon <schacon@agadorsparticus.(none)>2007-11-11 12:21:30 -0800
committerscott Chacon <schacon@agadorsparticus.(none)>2007-11-11 12:21:30 -0800
commitabcb1453e210beb6de70a69d3501cf842b38636e (patch)
tree0612905ab3ec279694d2780b43274cb332757d1a /lib/git/branches.rb
parent3cb57d82c301e9b8a16f30f468401e3007845bb7 (diff)
downloadthird_party-ruby-git-abcb1453e210beb6de70a69d3501cf842b38636e.tar.gz
third_party-ruby-git-abcb1453e210beb6de70a69d3501cf842b38636e.tar.xz
third_party-ruby-git-abcb1453e210beb6de70a69d3501cf842b38636e.zip
added branch and checkout functionality
Diffstat (limited to 'lib/git/branches.rb')
-rw-r--r--lib/git/branches.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/git/branches.rb b/lib/git/branches.rb
index 72dff0a..47d001a 100644
--- a/lib/git/branches.rb
+++ b/lib/git/branches.rb
@@ -13,7 +13,7 @@ module Git
@base = base
@base.lib.branches_all.each do |b|
- @branches[b[0]] = Git::Branch.new(@base, b[0], b[1])
+ @branches[b[0]] = Git::Branch.new(@base, b[0])
end
end