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

git format-patch from date never set

From
DSDan Savilonis <djs@n-cube.org>
Date
Jul 25, 2009, 21:39 UTC
Message-ID
<325c62f60907251439n6f3f661dhf0e76a74ce1eaec8@mail.gmail.com>

git format-patch always sets the date in the From: line to the git default date, e.g.

    From b9ff0ba6f3e228e1a8b67a25bc7be6b1da5ed1f3 Mon Sep 17 00:00:00 2001

The command uses GIT_COMMITTER_DATE as the date, but this env variable is never set in cmd_format_patch(). Is this a bug or 'feature'?

-- Dan

Next: Alex Riesen
Message 1 of 5 in “git format-patch from date never set”
  1. Dan SavilonisJul 25, 2009
  2. Alex RiesenJul 25, 2009
  3. Dan SavilonisJul 25, 2009
  4. Junio C HamanoJul 25, 2009
  5. Dan SavilonisJul 26, 2009

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.