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

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

From
Jakub Narebski <jnareb@gmail.com>
Date
Aug 3, 2010, 08:00 UTC
Message-ID
<201008031000.53581.jnareb@gmail.com>
In-Reply-To
<201008030939.09999.jnareb@gmail.com>
Dnia wtorek 3. sierpnia 2010 09:39, Jakub Narebski napisał:
Show 13 quoted lines
> Dnia wtorek 3. sierpnia 2010 00:47, Junio C Hamano napisał:
> > Jakub Narebski <jnareb@gmail.com> writes:
> > 
> > > The headers inside commit (and tag) objects are stored in text form,
> > > so they are not limited to 32-bit value.  You would have to use system
> > > that has 64-bit time_t, or patch git.
> > 
> > I thought the internal representation of our time was "unsigned long", no?
> > How can you represent anything before Unix epoch?
> 
> time_t is signed long.  Besides, git uses textual representation, its
> just a matter of putting minus sign.  We can always fall back to
> low level git-hash-object.
And it works:
  $ git show
  commit a5f4eaace56c6887846ea77725e1ac6827bb13b0
  Author: Jakub Narebski <jnareb@gmail.com>
  Date:   Fri May 31 18:24:20 1929 +0200
  
      git-hash-object
  $ git cat-file -p HEAD
  tree 953e0e451fdcb5c21a25ee7ef9faade5791b95ee
  parent 6a28c9c996d785b716559f57149a9b5c11fd83ff
  author Jakub Narebski <jnareb@gmail.com> -1280820940 +0200
  committer Jakub Narebski <jnareb@gmail.com> 1280820940 +0200
  
  git-hash-object
-- 
Jakub Narebski
Poland
Previous: Jakub NarebskiNext: Michael J Gruber
Message 24 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.