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

Re: Correcting timestamps when importing archives to git

From
David Greaves <david@dgreaves.com>
Date
Feb 26, 2008, 12:55 UTC
Message-ID
<47C40C2B.8040003@dgreaves.com>
In-Reply-To
<alpine.LSU.1.00.0802261215171.17164@racer.site>
Johannes Schindelin wrote:
> 
> Wow.  That is sure one of the most complicated ways to go about it.

Depends. after checking the git pages for time arguments then spoofing the time is (was!) the most obvious way to do it IMO :) Thereafter it took a few seconds to google faketime, download and implement.

> IMO GIT_AUTHOR_DATE and GIT_COMMITTER_DATE (mentioned in 
> Documentation/git.txt, and described in Documentation/git-commit-tree.txt) 
> would have been the tools to use.

Indeed - I forgot all about those - and I wrote the first versions of those files IIRC!

The variables are not written about much more and didn't show up when I was googling for managing git timestamps/dates. Maybe they will now.

And - the whole point of the email was for the archives - so thanks for the reply and the reminder/better suggestion.

David
Previous: Johannes Schindelin
Message 3 of 3 in “Correcting timestamps when importing archives to git”
  1. David GreavesFeb 26, 2008
  2. Johannes SchindelinFeb 26, 2008
  3. David GreavesFeb 26, 2008

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.