Re: preserving mtime

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Martin Langhoff
Date: Sunday, November 18, 2007 - 2:34 am

On Nov 18, 2007 9:45 PM, Mike Hommey <mh@glandium.org> wrote:
...

I do hope anyone doing those things is _very_ aware that the mtime
metadata has a specific meaning -- when did this specific file in this
filesystem last change -- and is used by many tools in that sense. You
are trying to use it for something else. Lots of things will break.

Like incremental backups, for example.

So no no NO. Not recommended. Stuff will break in new and surprising
ways. It'd be trivial to write a quick script that shows the data you
want from git in Perl/Python/etc. But don't use mtime. It's used for
other stuff. Actually used for other stuff. Don't replace that data
with time data you want to see, the actual users of mtime will break.

cheers,


m
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
preserving mtime, Fabrizio Pollastri, (Fri Nov 16, 2:33 am)
Re: preserving mtime, Andreas Ericsson, (Fri Nov 16, 3:15 am)
Re: preserving mtime, Junio C Hamano, (Fri Nov 16, 3:21 am)
Re: preserving mtime, Erik Warendorph, (Fri Nov 16, 5:09 am)
Re: preserving mtime, Wayne Davison, (Sat Nov 17, 11:22 am)
Re: preserving mtime, Mike Hommey, (Sun Nov 18, 1:45 am)
Re: preserving mtime, Martin Langhoff, (Sun Nov 18, 2:34 am)
Re: preserving mtime, Jan Hudec, (Sun Nov 18, 2:40 am)
Re: preserving mtime, Robin Rosenberg, (Sun Nov 18, 3:42 am)
Re: preserving mtime, David Brown, (Sun Nov 18, 11:47 am)
Re: preserving mtime, Martin Langhoff, (Sun Nov 18, 1:36 pm)
Re: preserving mtime, David Brown, (Sun Nov 18, 2:44 pm)
Re: preserving mtime, Johannes Schindelin, (Mon Nov 19, 7:38 am)