git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH] git-cvsimport - remove hardcoded reference to origin
@ 2005-08-16 21:27 Martin Langhoff
  0 siblings, 0 replies; only message in thread
From: Martin Langhoff @ 2005-08-16 21:27 UTC (permalink / raw
  To: git

[PATCH] git-cvsimport - remove hardcoded reference to origin

Signed-off-by: Martin Langhoff <martin.langhoff@gmail.com>

---

 git-cvsimport-script |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

61d32d57375d751f565baf61a144ebd6e0d6a61d
diff --git a/git-cvsimport-script b/git-cvsimport-script
--- a/git-cvsimport-script
+++ b/git-cvsimport-script
@@ -578,7 +578,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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-08-16 21:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-16 21:27 [PATCH] git-cvsimport - remove hardcoded reference to origin Martin Langhoff

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).