Thread (13 messages) flat view 13 messages, 11 authors, 2016-06-15

Re: preserving mtime

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:43:52

Hi,

On Sat, 17 Nov 2007, Wayne Davison wrote:
On Fri, Nov 16, 2007 at 11:15:34AM +0100, Andreas Ericsson wrote:
quoted
quoted
is it possible to tell git to preserve the file modification time in
a checked out copy?
quoted
Fabrizio Pollastri wrote:
No. Doing so would seriously break build-systems.
I wish that the initial clone would set the modification time to the
commit time.
Could you stop this discussion, please?  This subject comes up every once 
in a while, and in the meantime the archives contain more sane 
explanations why this would be a bad behaviour of git than I could tell 
off of my head.

So no, this is not a sane behaviour.

If you _must_ inist on this behaviour, write your own hook, don't tell 
anybody about it, especially not when things break.

Hth,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help