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

Re: [PATCH] Add 'git fast-export', the sister of 'git fast-import'

From
Jakub Narebski <jnareb@gmail.com>
Date
Nov 28, 2007, 12:56 UTC
Message-ID
<200711281356.06333.jnareb@gmail.com>
In-Reply-To
<Pine.LNX.4.64.0711281221090.27959@racer.site>
Johannes Schindelin wrote:
> On Wed, 28 Nov 2007, Jakub Narebski wrote:
Show 11 quoted lines
>> Yes, I could reencode commit messages...
> 
> Right.
> 
>> P.S. One nice use of proposed (at one time) 'note' header would be to 
>> save revision identifier from the version control system you import (CVS 
>> revision number, Subversion sequential revision number, etc.).
> 
> Why not put it into the commit message?  It is not information that git 
> uses, so it does not belong into the commit header IMO.  (IIRC I made the 
> same point already at the time 'note' was discussed.)

There are no problems if communication is only in one direction, i.e. if it is only import to git repository. If communication is two-directional, for example importing CVS repository into git and using git-cvsserver, or using Subversion repository with the help of git-svn, you would want commit messages preserved exactly. This includes not adding information about original revision id to commit message, and not recoding commit message to other encoding.

Just a thought...
-- 
Jakub Narebski
Poland
Previous: Johannes Schindelin
Message 10 of 10 in “Add 'git fast-export', the sister of 'git fast-import'”
  1. Add 'git fast-export', the sister of 'git fast-import'Johannes Schindelin, Nov 25, 2007
  2. Junio C HamanoNov 26, 2007
  3. Johannes SchindelinNov 26, 2007
  4. Junio C HamanoNov 26, 2007
  5. Johannes SchindelinNov 27, 2007
  6. Shawn O. PearceNov 27, 2007
  7. Johannes SchindelinNov 27, 2007
  8. Jakub NarebskiNov 27, 2007
  9. Johannes SchindelinNov 28, 2007
  10. Jakub NarebskiNov 28, 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.