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

Re: [PATCH v3] git-svn: add --authors-prog option

From
EWEric Wong <normalperson@yhbt.net>
Date
May 21, 2009, 08:43 UTC
Message-ID
<20090521084343.GA6401@dcvr.yhbt.net>
In-Reply-To
<1242350835-22684-1-git-send-email-lodatom@gmail.com>
Mark Lodato <lodatom@gmail.com> wrote:
> Signed-off-by: Mark Lodato <lodatom@gmail.com>

Thanks again Mark, sorry again for the late response, it's been a long few weeks for me.

Acked-by: Eric Wong <normalperson@yhbt.net>

And pushed out to git://git.bogomips.org/git-svn along with a few others that I had acked:

Alex Vandiver (3):
      git-svn: Fix for svn paths removed > log-window-size revisions ago
      git-svn: Correctly report max revision when following deleted paths
      git-svn: Set svn.authorsfile if it is passed to git svn clone
Eygene Ryabinkin (1):
      git-svn testsuite: use standard configuration for Subversion tools
Mark Lodato (1):
      git-svn: add --authors-prog option
Show 5 quoted lines
> ---
> 
> Third attempt at the patch.  I fixed a typo and reworded the documentation
> (thanks to Michael Gruber), and I fixed a small mistake in the commit message.
> Other than rebasing onto master, nothing else was changed.
A bunch of tests got broken but I squished this on top to fix them:
diff --git a/git-svn.perl b/git-svn.perl
index af80e24..a70c7d7 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -265,7 +265,9 @@ usage(0) if $_help;
 version() if $_version;
 usage(1) unless defined $cmd;
 load_authors() if $_authors;
-$_authors_prog = "'" . File::Spec->rel2abs($_authors_prog) . "'";
+if (defined $_authors_prog) {
+	$_authors_prog = "'" . File::Spec->rel2abs($_authors_prog) . "'";
+}
 
 unless ($cmd =~ /^(?:clone|init|multi-init|commit-diff)$/) {
 	Git::SVN::Migration::migration_check();
-- 
Eric Wong
Previous: Mark LodatoNext: Junio C Hamano
Message 6 of 7 in “git-svn: add --authors-prog option”
  1. git-svn: add --authors-prog optionMark Lodato, May 8, 2009
  2. Michael J GruberMay 8, 2009
  3. Mark LodatoMay 9, 2009
  4. Eric WongMay 10, 2009
  5. git-svn: add --authors-prog optionMark Lodato, May 15, 2009
  6. Eric WongMay 21, 2009
  7. Junio C HamanoMay 21, 2009

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.