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

Re: how to change/fake the time for next commit ?

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Nov 23, 2007, 00:34 UTC
Message-ID
<Pine.LNX.4.64.0711230032320.27959@racer.site>
In-Reply-To
<46d6db660711221629j5d294a5dp4771778e38b14962@mail.gmail.com>
Hi,
On Fri, 23 Nov 2007, Christian MICHON wrote:
> I already did such approach in the past by script, but usually the
> dates of commit are the timestamps of current tar imports.

Have you tried setting the environment variables GIT_COMMITTER_DATE and GIT_AUTHOR_DATE before committing?

Hth, Dscho

Previous: Christian MICHONNext: Christian MICHON
Message 2 of 4 in “how to change/fake the time for next commit ?”
  1. Christian MICHONNov 23, 2007
  2. Johannes SchindelinNov 23, 2007
  3. Christian MICHONNov 23, 2007
  4. Johannes SixtNov 23, 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.