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

Re: Corrupted (?) commit 6e6db85e confusing gitk

From
Wincent Colaiuta <win@wincent.com>
Date
Dec 2, 2007, 16:12 UTC
Message-ID
<C1CE0786-FB89-4E5D-9FEA-1F2FFFD47D12@wincent.com>
In-Reply-To
<5F1A20CC-7427-4E7A-AB95-E89C9FA17951@zib.de>
El 2/12/2007, a las 17:06, Steffen Prohaska escribió:
Show 14 quoted lines
> When I run
>
>   gitk 6e6db85ea9423eea755cf5acf7a563c0d9559063
>
> gitk complaints with 'Error: expected integer but got "Hamano"'.
>
> I tracked the problem down to the raw content of the commit object.
> The author line is lacking time and timezone information:
>
>    $ git-cat-file -p 6e6db85ea9423eea755cf5acf7a563c0d9559063
>    tree 5265f13d094e7c453a06f097add25eaefb843a79
>    parent d25430c5f88c7e7b4ce24c1b08e409f4345c4eb9
>    author Junio C Hamano <gitster@pobox.com>
>    committer Junio C Hamano <gitster@pobox.com> 1196466497 -0800
Yeah, and:
$ git show 6e6db85ea9423eea755cf5acf7a563c0d9559063 | head -3
commit 6e6db85ea9423eea755cf5acf7a563c0d9559063
Author: Junio C Hamano <gitster@pobox.com>
Date:   Thu Jan 1 00:00:00 1970 +0000

Cheers, Wincent

Previous: Steffen ProhaskaNext: Steffen Prohaska
Message 2 of 18 in “Corrupted (?) commit 6e6db85e confusing gitk”
  1. Steffen ProhaskaDec 2, 2007
  2. Wincent ColaiutaDec 2, 2007
  3. gitk: Add workaround to handle corrupted author dateSteffen Prohaska, Dec 2, 2007
  4. Junio C HamanoDec 2, 2007
  5. Brian DowningDec 2, 2007
  6. Linus TorvaldsDec 2, 2007
  7. Junio C HamanoDec 2, 2007
  8. Linus TorvaldsDec 2, 2007
  9. Junio C HamanoDec 2, 2007
  10. Linus TorvaldsDec 2, 2007
  11. Fix --signoff in builtin-commit differently.Junio C Hamano, Dec 2, 2007
  12. Johannes SchindelinDec 2, 2007
  13. Michael GebetsroitherDec 2, 2007
  14. Junio C HamanoDec 2, 2007
  15. Johannes SchindelinDec 2, 2007
  16. Linus TorvaldsDec 2, 2007
  17. Junio C HamanoDec 2, 2007
  18. Junio C HamanoDec 2, 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.