From: Junio C Hamano Date: Mon, 08 Jul 2013 22:03:05 GMT Subject: Re: standarize mtime when git checkout Message-ID: <7vobacyajq.fsf@alter.siamese.dyndns.org> In-Reply-To: <7D0754FFADBD2D4785C1D233C497C47B209AF2BC@SJEXCHMB06.corp.ad.broadcom.com> "Rick Liu" writes: > Can we use GIT's commit time as the mtime for all of files/folders when we do "git checkout"? No. That will screw up common practice of build based on file timestamps (e.g. make). You may be interested in "git archive $commit" which will set the file timestamps that of the commit object.