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

Re: Questions about git-fast-import for cvs2svn

From
EWEric Wong <normalperson@yhbt.net>
Date
Jul 16, 2007, 03:35 UTC
Message-ID
<20070716033540.GB29521@muzzle>
In-Reply-To
<7vd4ytebsw.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <gitster@pobox.com> wrote:
Show 15 quoted lines
> Sean <seanlkml@sympatico.ca> writes:
> >> 2. It appears that author/committer require an email address.  How
> >> important is a valid email address here?
> >
> > It's not necessary for the operation of Git itself; it's up to you to
> > decide how important the information is to your project.  You should
> > be able to set an empty email address for author or committer in
> > git fast-import as "name <>".
> 
> Don't do this; git-cvsimport and git-svn uses "name <name>"
> which is a saner compromise.  This way, you can add .mailmap to
> help later "git shortlog" to map using "<name>" part to more
> human friendly name.  Mapping at conversion time would also be
> good and git-cvsimport knows about it (I do not know about
> git-svn).
git-svn can do this, too.

I don't use it myself, but I remember the file format is the same as the one git-svnimport and git-cvsimport use.

-- 
Eric Wong
Previous: Junio C HamanoNext: Linus Torvalds
Message 6 of 10 in “Questions about git-fast-import for cvs2svn”
  1. Michael HaggertyJul 15, 2007
  2. SeanJul 15, 2007
  3. Steffen ProhaskaJul 15, 2007
  4. Steffen ProhaskaJul 15, 2007
  5. Junio C HamanoJul 15, 2007
  6. Eric WongJul 16, 2007
  7. Linus TorvaldsJul 15, 2007
  8. Shawn O. PearceJul 16, 2007
  9. Robin RosenbergJul 15, 2007
  10. Robin H. JohnsonJul 15, 2007

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.