From: Wayne Davison Date: Sat, 17 Nov 2007 18:22:36 GMT Subject: Re: preserving mtime Message-ID: <20071117182236.GD23659@blorf.net> In-Reply-To: <473D6DC6.8040804@op5.se> 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. It would make the intial checkout have a more accurate representation of when a file was last changed instead of all files being set to the clone date. Then, files that are being updated would get their time set as they do now. I supposed I'll just use the handy git-set-file-times script (mentioned in another reply) every time I do a clone. ..wayne..