From: Ævar Arnfjörð Bjarmason Date: Fri, 06 Aug 2010 16:50:29 GMT Subject: Re: Back-dating commits--way back--for constitution.git Message-ID: In-Reply-To: On Fri, Aug 6, 2010 at 16:00, Brandon Casey wrote: > Ævar Arnfjörð Bjarmason wrote: >> On Fri, Aug 6, 2010 at 15:18, Joel C. Salomon wrote: >>> On Thu, Aug 5, 2010 at 5:58 PM, Ævar Arnfjörð Bjarmason >>> wrote: >>>> On Thu, Aug 5, 2010 at 21:37, Joel C. Salomon wrote: >>>>> It's up, at , with one commit. >>>>> >>>>> I'm curious to find out if folks with 64-bit time_t get the correct >>>>> author and commit times. >>>> On 32bit: >>>> >>>> commit 826a4f7721fe1c3963a733ecbc5422f05925af5d >>>> Author: The Philadelphia Convention <> >>>> Date:   Wed Dec 31 19:59:59 1969 -0400 >>>> >>>> On 64bit: >>>> >>>> commit 826a4f7721fe1c3963a733ecbc5422f05925af5d >>>> Author: The Philadelphia Convention <> >>>> Date:   Mon Sep 17 13:00:00 1787 -0400 >>> Cool, it works!  (The 13:00 should have been 12:00, but there's some >>> DST weirdness at work.) >>> >>> Can you check what git-fsck has to say about the repos, on 32- & >>> 64-bit machines? >> >> 32bit says: >> >>     error in commit 826a4f7721fe1c3963a733ecbc5422f05925af5d: invalid >> author/committer line >> >> 64 bit doesn't give any warning at all. > > I don't think you're using the latest git. Guilty as charged. It's a Debian 1.7.1 git. > I get this on 64 bit: > >   error in commit 826a4f7721fe1c3963a733ecbc5422f05925af5d: invalid author/committer line - bad date > > This is triggered by the negative sign '-' in front of the time > field which is not one of 0123456789.  See fsck.c line 244. > > -brandon >