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

Re: Back-dating commits--way back--for constitution.git

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Aug 6, 2010, 16:50 UTC
Message-ID
<AANLkTi=twbd=nHrDOnPjcBUdHEa=xkGGC6uqGdjSid+B@mail.gmail.com>
In-Reply-To
<H6efS0hBcmgNGLKlyPGmiuLIrxCvE4xIoIvXe6hvCJ0@cipher.nrlssc.navy.mil>

On Fri, Aug 6, 2010 at 16:00, Brandon Casey <brandon.casey.ctr@nrlssc.navy.mil> wrote:

Show 34 quoted lines
> Ævar Arnfjörð Bjarmason wrote:
>> On Fri, Aug 6, 2010 at 15:18, Joel C. Salomon <joelcsalomon@gmail.com> wrote:
>>> On Thu, Aug 5, 2010 at 5:58 PM, Ævar Arnfjörð Bjarmason
>>> <avarab@gmail.com> wrote:
>>>> On Thu, Aug 5, 2010 at 21:37, Joel C. Salomon <joelcsalomon@gmail.com> wrote:
>>>>> It's up, at <http://github.com/jcsalomon/constitution>, 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.
Show 9 quoted lines
> 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
>
Previous: Brandon CaseyNext: Brandon Casey
Message 17 of 36 in “Back-dating commits--way back--for constitution.git”
  1. Joel C. SalomonAug 2, 2010
  2. Shawn O. PearceAug 2, 2010
  3. Joel C. SalomonAug 2, 2010
  4. Ævar Arnfjörð BjarmasonAug 2, 2010
  5. Joel C. SalomonAug 4, 2010
  6. Ævar Arnfjörð BjarmasonAug 4, 2010
  7. Joel C. SalomonAug 5, 2010
  8. Ævar Arnfjörð BjarmasonAug 5, 2010
  9. Sverre RabbelierAug 5, 2010
  10. Jakub NarebskiAug 6, 2010
  11. Michael WittenAug 6, 2010
  12. Sverre RabbelierAug 6, 2010
  13. Joel C. SalomonAug 6, 2010
  14. Ævar Arnfjörð BjarmasonAug 6, 2010
  15. Joel C. SalomonAug 6, 2010
  16. Brandon CaseyAug 6, 2010
  17. Ævar Arnfjörð BjarmasonAug 6, 2010
  18. Brandon CaseyAug 6, 2010
  19. Joel C. SalomonAug 8, 2010
  20. Joshua JuranAug 8, 2010
  21. Jakub NarebskiAug 2, 2010
  22. Junio C HamanoAug 2, 2010
  23. Jakub NarebskiAug 3, 2010
  24. Jakub NarebskiAug 3, 2010
  25. Michael J GruberAug 3, 2010
  26. Joshua JuranAug 3, 2010
  27. Jeff KingAug 3, 2010
  28. Joshua JuranAug 3, 2010
  29. Jeff KingAug 3, 2010
  30. Jakub NarebskiAug 3, 2010
  31. Jakub NarebskiAug 3, 2010
  32. Jeff KingAug 3, 2010
  33. Jakub NarebskiAug 3, 2010
  34. Jeff KingAug 3, 2010
  35. Michael J GruberAug 3, 2010
  36. Jeff KingAug 3, 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.