From 9a5e4075a4b54581821584386e5e184a57f06d18 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 7 Jan 2007 19:35:41 -0800 Subject: git-svn: pass an unambiguous ref to rev-list when grafting-branches Some users apparently create local heads with the same basename as the remote branch they're tracking. Signed-off-by: Eric Wong Signed-off-by: Junio C Hamano --- git-svn.perl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-svn.perl b/git-svn.perl index a092be836e..56f17002d1 100755 --- a/git-svn.perl +++ b/git-svn.perl @@ -1086,7 +1086,7 @@ sub graft_merge_msg { my ($grafts, $l_map, $u, $p, @re) = @_; my $x = $l_map->{$u}->{$p}; - my $rl = rev_list_raw($x); + my $rl = rev_list_raw("refs/remotes/$x"); while (my $c = next_rev_list_entry($rl)) { foreach my $re (@re) { my (@br) = ($c->{m} =~ /$re/g); -- cgit v1.2.3