From 049f28c3929fa722634ecb7bb39d78457018815a Mon Sep 17 00:00:00 2001 From: Martin Langhoff Date: Wed, 17 Aug 2005 09:27:09 +1200 Subject: [PATCH] [PATCH] git-cvsimport - remove hardcoded reference to origin ... in the newly introduced merge detection code. Signed-off-by: Martin Langhoff Signed-off-by: Junio C Hamano --- git-cvsimport-script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-cvsimport-script b/git-cvsimport-script index 1f36acea..e3a8e584 100755 --- a/git-cvsimport-script +++ b/git-cvsimport-script @@ -579,7 +579,7 @@ my $commit = sub { foreach my $rx (@mergerx) { if ($logmsg =~ $rx) { my $mparent = $1; - if ($mparent eq 'HEAD') { $mparent = 'origin'}; + if ($mparent eq 'HEAD') { $mparent = $opt_o }; if ( -e "$git_dir/refs/heads/$mparent") { $mparent = get_headref($mparent, $git_dir); push @par, '-p', $mparent; -- 2.11.0