git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Elijah Newren" <newren@gmail.com>
To: git@vger.kernel.org
Subject: git-cvsimport bug with dates
Date: Thu, 15 Nov 2007 21:59:44 -0700	[thread overview]
Message-ID: <51419b2c0711152059q55ced86gd224310c8c4a1851@mail.gmail.com> (raw)

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

             reply	other threads:[~2007-11-16  5:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-16  4:59 Elijah Newren [this message]
2007-11-16  6:06 ` git-cvsimport bug with dates Junio C Hamano
2007-11-16 14:12   ` Elijah Newren
2007-11-17 10:12     ` Robin Rosenberg
2007-11-17 15:39       ` Elijah Newren
2007-11-17 21:36         ` Jan Hudec

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51419b2c0711152059q55ced86gd224310c8c4a1851@mail.gmail.com \
    --to=newren@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).