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

Re: git-cvsimport fuzzy commit log matching?

From
Martin Langhoff <martin.langhoff@gmail.com>
Date
Dec 23, 2008, 12:53 UTC
Message-ID
<46a038f90812230453m4122e018l2cc22be3f40ab630@mail.gmail.com>
In-Reply-To
<20081223110302.GA9376@lst.de>
On Tue, Dec 23, 2008 at 9:03 AM, Christoph Hellwig <hch@lst.de> wrote:
> Any idea how to tell git-cvsimport that if we have exactly the same
> timestamp, and maybe the same author it really is the same changeset and
> we want to merge the commit message?

Right now, cvsimport relies on cvsps for this. cvsps compares author, timestamp (with a fuzz factor 'cause cvs commits over slow networks or hosts can span minutes - you could dial down to 0, it's the -z flag) *and* commit msg.

What you could do is
 1 - run cvsps with export to a file (I've posted in this list how to
run it exactly as cvsimport does)
 2 - post-process cvsps ouput with perl (there's a parser already in
cvsimport ;-) )
 3 - run cvsimport with the post-processed file
Or postprocess the imported git tree as others have suggested.
hth,
martin
-- 
 martin.langhoff@gmail.com
 martin@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
Previous: Pierre HabouzitNext: Christoph Hellwig
Message 3 of 4 in “git-cvsimport fuzzy commit log matching?”
  1. Christoph HellwigDec 23, 2008
  2. Pierre HabouzitDec 23, 2008
  3. Martin LanghoffDec 23, 2008
  4. Christoph HellwigDec 23, 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.