Thread (7 messages) flat view 7 messages, 4 authors, 2018-02-02

Re: Git on Windows maps creation time onto changed time

From: Keith Goldfarb <hidden>
Date: 2018-02-02 18:46:10

The purpose of these values is to allow to notice a change on the file system without going through the actual file data. Duplicating st_mtime would be pointless.
Well, I agree with the first statement. I disagree with the 2nd. It’s not pointless to fix a problem, and in theory the creation date of a file can never change.
Don't do that then. Use core.trustctime.
I am. Unfortunately, my problem isn’t solved by that alone. Perhaps this deserves its own thread, but on Windows the st_ino field is set to zero. This can also trigger a false positive, causing the whole cache to be rebuilt unnecessarily.

K.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help