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

Re: Git CVS Import Questions

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Jul 30, 2010, 20:17 UTC
Message-ID
<20100730201706.GC2448@burratino>
In-Reply-To
<AANLkTin_d_wKxyJDMbjz4vFacr6GNYzE_aUGi2vbXW3V@mail.gmail.com>
Hi Samir,
Samir Faci wrote:
Show 7 quoted lines
> mkdir bar; git cvsimport -v Foo/Bar   which checks out the history of
> module Bar into the current directory (in this case bar)
> 
> now... if I do this again in another directory
> 
> mkdir bar2; git cvsimport -v Foo/Bar  which repeats the same process
> the hashes don't match up.

Maybe the dates are different? I would suggest comparing the result of “git fast-export HEAD” from each.

> Now, correct me if I'm wrong.. but I thought the hashes were generated
> based on the content of the diff.
Close, but not quite.  This might help: http://progit.org/book/ch9-2.html

Have fun, Jonathan

Previous: Samir Faci
Message 2 of 2 in “Git CVS Import Questions”
  1. Samir FaciJul 29, 2010
  2. Jonathan NiederJul 30, 2010

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.