git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
MLMartin Langhoff <martin@ng.eduforge.org>
Date
Aug 16, 2005, 21:27 UTC
Message-ID
<20050816212709.1958B3300AD@ng.eduforge.org>
[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;
Message 1 of 1 in “git-cvsimport - remove hardcoded reference to origin”
  1. git-cvsimport - remove hardcoded reference to originMartin Langhoff, Aug 16, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.