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

Re: Force commit date

From
Daniel Barkalow <barkalow@iabervon.org>
Date
Jan 29, 2009, 19:10 UTC
Message-ID
<alpine.LNX.1.00.0901291406000.19665@iabervon.org>
In-Reply-To
<1233255759118-2240702.post@n2.nabble.com>
On Thu, 29 Jan 2009, Zabre wrote:
Show 10 quoted lines
> Markus Heidelberg wrote:
> > 
> > man git-commit-tree
> > -> GIT_COMMITTER_DATE
> > 
> > Though only in the git-commit-tree docs, it also works with git-commit.
> > Maybe it should be added there, too.
> > 
> 
> Thank you Markus, I'll have a look at this too !

You may want to consider whether those dates make most sense as the date of the commit, or the date the changes were done; git tracks both of these separately, in part because it's easy to have some work done at one time, and only make the commit that becomes part of the official project history much later (and these may be done by different people).

The date for the changes being done is set with GIT_AUTHOR_DATE
	-Daniel
*This .sig left intentionally blank*
Previous: ZabreNext: Zabre
Message 7 of 9 in “Force commit date”
  1. ZabreJan 29, 2009
  2. Sverre RabbelierJan 29, 2009
  3. ZabreJan 29, 2009
  4. ZabreJan 29, 2009
  5. Markus HeidelbergJan 29, 2009
  6. ZabreJan 29, 2009
  7. Daniel BarkalowJan 29, 2009
  8. ZabreJan 29, 2009
  9. ZabreJan 29, 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.