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

Invalid dates in git log

From
Eirik Bjørsnøs <eirbjo@gmail.com>
Date
Dec 12, 2007, 09:11 UTC
Message-ID
<34660cca0712120111k3f11769fk1a8cefda3b82683e@mail.gmail.com>
Hi there,

I'm experiencing a date issue with certain commits in Git in Linus's 2.6 kernel repository.

One commit has a date from 2019, while another commit has a date from
1970. Although Git has been around for a while and seeing a Linux
commit from 2019 would be cool, I think there's something wrong here.
My questions are:
1) Is this a problem in the Git software?
2) Or is it a data corruption issue in the repository?
3) Can it be fixed and should I contact anyone to get it fixed?
I'm doing some log analysis and these two dates mess up my charts.
Steps to reproduce:
$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
$ git  log  a27ac38efd6dc6dccebfc9bcc475ab4aa5fc4a56 -1
commit a27ac38efd6dc6dccebfc9bcc475ab4aa5fc4a56
Author: Len Brown <len.brown@intel.com>
Date:   Fri Apr 5 00:07:45 2019 -0500
    [ACPI] fix merge error that broke CONFIG_ACPI_DEBUG=y build
    Signed-off-by: Len Brown <len.brown@intel.com>
$ git  log  224426f168aa4af3dcb628e6edaa824d32d60e6f  -1
commit 224426f168aa4af3dcb628e6edaa824d32d60e6f
Author: Ursula Braun <braunu@de.ibm.com>
Date:   Thu Jan 1 01:00:01 1970 +0100
    qeth: remove header_ops bug
    Remove qeth bug caused by commit:
    [NET]: Move hardware header operations out of netdevice.
    Signed-off-by: Ursula Braun <braunu@de.ibm.com>
    Signed-off-by: Jeff Garzik <jeff@garzik.org>
Thanks,
Eirik.
Next: Jeff King
Message 1 of 7 in “Invalid dates in git log”
  1. Eirik BjørsnøsDec 12, 2007
  2. Jeff KingDec 12, 2007
  3. Junio C HamanoDec 12, 2007
  4. Johannes SchindelinDec 12, 2007
  5. Junio C HamanoDec 12, 2007
  6. Eirik BjørsnøsDec 12, 2007
  7. Andreas EricssonDec 12, 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.