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

Re: mod-times (was: keyword expansion)

From
TGThomas Glanzmann <sithglan@stud.uni-erlangen.de>
Date
Apr 25, 2005, 18:10 UTC
Message-ID
<20050425181011.GA14076@cip.informatik.uni-erlangen.de>
In-Reply-To
<200504251756.j3PHuSh01362@unix-os.sc.intel.com>
Hi,
> > 	- Time stamp of the last modification of a file
> One way to do this would be to rip on some of the core fundamentals of GIT
> and store the time that an object was created inside the object. E.g.

I think I have nearly something finished. Using rev-tree, cat-file and ls-tree -r written in perl.

>    blob size secs-since-1970 ...

I dislike the idea because of reasons Torvalds has already mentioned when talking about file renames and cvs annotate. And it also would fit only this special case.

Having a 'git export' with real timestamps would be fun, but when I think it over I don't really need it. And if I need it it would be a matter of 20 minutes. :-)

	Thomas
Previous: tony.luck@intel.comNext: Geert Bosch
Message 3 of 5 in “keyword expansion”
  1. Thomas GlanzmannApr 25, 2005
  2. mod-times (was: keyword expansion)tony.luck@intel.com, Apr 25, 2005
  3. Thomas GlanzmannApr 25, 2005
  4. Geert BoschApr 25, 2005
  5. Linus TorvaldsApr 26, 2005

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.