summaryrefslogtreecommitdiffstats
path: root/lib/git/branches.rb
diff options
context:
space:
mode:
authorscott Chacon <schacon@agadorsparticus.(none)>2007-11-10 12:43:33 -0800
committerscott Chacon <schacon@agadorsparticus.(none)>2007-11-10 12:43:33 -0800
commitfde3263abc5c7866aa7dce7aef28eacaa33d7664 (patch)
treec9911ac92e9770c7bfea3e79269f8e7dcf7f6982 /lib/git/branches.rb
parent9d59d2965184964ab6662282ef5f9ceac2c58552 (diff)
downloadthird_party-ruby-git-fde3263abc5c7866aa7dce7aef28eacaa33d7664.tar.gz
third_party-ruby-git-fde3263abc5c7866aa7dce7aef28eacaa33d7664.tar.xz
third_party-ruby-git-fde3263abc5c7866aa7dce7aef28eacaa33d7664.zip
few hours work - diff is done
Diffstat (limited to 'lib/git/branches.rb')
-rw-r--r--lib/git/branches.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/git/branches.rb b/lib/git/branches.rb
index 81abe22..72dff0a 100644
--- a/lib/git/branches.rb
+++ b/lib/git/branches.rb
@@ -11,8 +11,9 @@ module Git
@branches = {}
@base = base
+
@base.lib.branches_all.each do |b|
- @branches[b.full] = b
+ @branches[b[0]] = Git::Branch.new(@base, b[0], b[1])
end
end