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

Re: strange date generated by git-format-patch

From
Junio C Hamano <junkio@cox.net>
Date
Feb 23, 2007, 09:04 UTC
Message-ID
<7vtzxd6y9h.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<38d46eb0702230055i587bc775r9362aafeef803976@mail.gmail.com>
"johan defries" <johandefries@gmail.com> writes:
Show 7 quoted lines
> When I do
>
> #git-format-patch --stdout HEAD^|head -1 | grep --color "Mon Sep 17
> 00:00:00 2001"
>
> I really get a hit. "Sept 17 2001"?? It's strange, because the
> repository is so much younger.

That is just a fake random date to make the Unix-From line recognizable by common MUA and does not have anything to do with your commit objects.

The real date is on Date: header.
Previous: johan defriesNext: Johannes Schindelin
Message 2 of 7 in “strange date generated by git-format-patch”
  1. johan defriesFeb 23, 2007
  2. Junio C HamanoFeb 23, 2007
  3. Johannes SchindelinFeb 23, 2007
  4. Junio C HamanoFeb 24, 2007
  5. Theodore TsoFeb 24, 2007
  6. Jeff KingFeb 24, 2007
  7. Johannes SchindelinFeb 24, 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.