From 3c1b3f01465a74f7e0617c1d6f06a1f0bf684c90 Mon Sep 17 00:00:00 2001 From: scott Chacon Date: Fri, 16 Nov 2007 11:31:08 -0800 Subject: added update-ref --- lib/git/branch.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/git/branch.rb') diff --git a/lib/git/branch.rb b/lib/git/branch.rb index f9106ab..c2ce810 100644 --- a/lib/git/branch.rb +++ b/lib/git/branch.rb @@ -75,6 +75,10 @@ module Git end end + def update_ref(commit) + @base.lib.update_ref(@full, commit) + end + def to_a [@full] end -- cgit