summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: db4b658)
raw | patch | inline | side by side (parent: db4b658)
author | Martin Langhoff <martin@ng.eduforge.org> | |
Tue, 16 Aug 2005 21:27:09 +0000 (09:27 +1200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 17 Aug 2005 21:53:39 +0000 (14:53 -0700) |
... in the newly introduced merge detection code.
Signed-off-by: Martin Langhoff <martin.langhoff@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Martin Langhoff <martin.langhoff@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-cvsimport-script | patch | blob | history |
diff --git a/git-cvsimport-script b/git-cvsimport-script
index 1f36acea22310b0bf1944d2c8d531380ff1383d5..e3a8e584a562e8e50c5d7316acc653babafcd8ba 100755 (executable)
--- a/git-cvsimport-script
+++ b/git-cvsimport-script
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;