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

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

From
EWEric Wong <normalperson@yhbt.net>
Date
May 10, 2009, 00:35 UTC
Message-ID
<20090510003509.GA2000@dcvr.yhbt.net>
In-Reply-To
<ca433830905082048u6088a58ai16b1c979ef742f7@mail.gmail.com>
Mark Lodato <lodatom@gmail.com> wrote:
Show 6 quoted lines
> On Fri, May 8, 2009 at 3:43 AM, Michael J Gruber
> <git@drmicha.warpmail.net> wrote:
> > Mark Lodato venit, vidit, dixit 08.05.2009 03:11:
> > Maybe we want a config key also, just like for the authors file.
> 
> Yes, this is a very good idea.  I will figure out how to do this.

It already works :) Command-line options taken by git svn have always been automatically converted to config keys.

Show 12 quoted lines
> > The feature itself looks useful for large user databases. For smaller
> > ones one could just as well update the authors file before each fetch by
> > dumping the whole db in there (or even conditionally on git svn fetch
> > erroring out due to encountering an unknown name).
> 
> Right.  This feature will most likely be useful in corporate
> environments.  In my case, it is not possible to dump the entire user
> database to a file, so this patch is the only solution.  Another
> possible use case is where SVN usernames are standardized, e.g. "jdoe"
> -> "J Doe <jdoe@example.com>".  Also, using --authors-prog solves the
> problem of keeping the authors file up-to-date, if users are regularly
> added or deleted.

Thanks Mark. Your patch looks good and I'll apply the next one after the grammar fixes. I've actually thought about implementing this myself back when I (briefly) worked in a corporate environment, but never got around to it.

Sorry for the late response and not following the mailing list more closely these days.

-- 
Eric Wong
Previous: Mark LodatoNext: Mark Lodato
Message 4 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.