Re: preserving mtime
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Nov 19, 2007, 14:38 UTC
- Message-ID
- <Pine.LNX.4.64.0711191537030.16728@wbgn129.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <20071117182236.GD23659@blorf.net>
Hi,
On Sat, 17 Nov 2007, Wayne Davison wrote:
Show 9 quoted lines
> On Fri, Nov 16, 2007 at 11:15:34AM +0100, Andreas Ericsson wrote: > >> is it possible to tell git to preserve the file modification time in > >> a checked out copy? > > > 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