Thread (1 message) 1 message, 1 author, 2016-06-15

Re: standarize mtime when git checkout

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:58:02

"Rick Liu" [off-list ref] 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help