Re: standarize mtime when git checkout

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Rick Liu" <rickliu@xxxxxxxxxxxx> 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.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]