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

git-cvsimport bug with dates

From
Elijah Newren <newren@gmail.com>
Date
Nov 16, 2007, 04:59 UTC
Message-ID
<51419b2c0711152059q55ced86gd224310c8c4a1851@mail.gmail.com>
Hi,
It appears that there's some kind of bug with git-cvsimport and dates.
 In a small repository I imported on Oct 24, I'm getting:
$ git log | grep ^Date | wc -l
957
$ git log | grep ^Date | tail
Date:   Tue Oct 29 21:10:17 2002 +0000
Date:   Tue Oct 29 17:41:05 2002 +0000
Date:   Tue Oct 29 00:43:27 2002 +0000
Date:   Mon Oct 28 23:36:40 2002 +0000
Date:   Mon Oct 21 21:35:57 2002 +0000
Date:   Fri Sep 20 22:18:01 2002 +0000
Date:   Mon Sep 16 20:05:27 2002 +0000
Date:   Wed Sep 11 21:14:03 2002 +0000
Date:   Tue Sep 10 16:37:16 2002 +0000
Date:   Fri Aug 23 16:03:22 2002 +0000
$ git diff @{2007-10-01}
warning: Log for '' only goes back to Wed, 24 Oct 2007 19:31:38 +0000.
fatal: bad object @{2007-10-01}

It appears that passing a date to git diff on any repository imported by git-cvsimport will show this error, as long as the date is prior to when the repository was imported.

Elijah
Next: Junio C Hamano
Message 1 of 6 in “git-cvsimport bug with dates”
  1. Elijah NewrenNov 16, 2007
  2. Junio C HamanoNov 16, 2007
  3. Elijah NewrenNov 16, 2007
  4. Robin RosenbergNov 17, 2007
  5. Elijah NewrenNov 17, 2007
  6. Jan HudecNov 17, 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.