From: Johannes Schindelin Date: Mon, 19 Nov 2007 14:38:55 GMT Subject: Re: preserving mtime Message-ID: In-Reply-To: <20071117182236.GD23659@blorf.net> Hi, On Sat, 17 Nov 2007, Wayne Davison wrote: > 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