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

Re: [PATCH 2/3] git-svn: Add --add-author-from option.

From
EWEric Wong <normalperson@yhbt.net>
Date
Apr 17, 2008, 04:36 UTC
Message-ID
<20080417043620.GA11600@soma>
In-Reply-To
<1208307858-31039-2-git-send-email-apenwarr@gmail.com>
apenwarr@gmail.com wrote:
Show 9 quoted lines
> From: Avery Pennarun <apenwarr@versabanq.com>
> 
> This adds a From: line (based on the commit's author information) when
> sending to svn.  It doesn't add if a From: or Signed-off-by: header already
> exists for that commit.
> 
> This, combined with --use-log-author, can retain the author field of commits
> through a round trip from git to svn and back.
> Signed-off-by: Avery Pennarun <apenwarr@gmail.com>

This seems like a useful feature for SVN projects and I've sometimes wanted it myself. Thanks.

One thing, can you add some tests to ensure this continues working? I don't have lots of time to work on git-svn these days and if I do, I want it to be easy to ensure I'm not breaking things :)

Thanks.
-- 
Eric Wong
Previous: Avery Pennarun
Message 12 of 12 in “git-svn: add documentation for --use-log-author option.”
  1. 1/3 git-svn: add documentation for --use-log-author option.apenwarr@gmail.com, Apr 16, 2008
  2. 2/3 git-svn: Add --add-author-from option.apenwarr@gmail.com, Apr 16, 2008
  3. 3/3 git-svn: add documentation for --add-author-from option.apenwarr@gmail.com, Apr 16, 2008
  4. Junio C HamanoApr 16, 2008
  5. Avery PennarunApr 16, 2008
  6. Junio C HamanoApr 16, 2008
  7. Avery PennarunApr 16, 2008
  8. Richard QuirkApr 16, 2008
  9. Dmitry PotapovApr 16, 2008
  10. Sam VilainApr 16, 2008
  11. Avery PennarunApr 16, 2008
  12. Eric WongApr 17, 2008

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.