Timeline for Why doesn't Git set the file time?
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 23, 2024 at 17:59 | comment | added | Jake Stevens-Haas |
I'd even add that there are subtler "build" systems that depend upon file modification times. The CPython runtime prefers bytecode files to source files, and only updates those when the source file is newer than the bytecode file. If git checkout changed the file modification time to the commit time in an installed package, then python would only ever be able to import the most recently committed version, ignoring whatever was currently checked out.
|
|
| Jul 13, 2022 at 18:01 | comment | added | CrazyPyro | @Dan git.wiki.kernel.org/index.php/… | |
| Sep 20, 2021 at 6:45 | comment | added | Daniel Wolf | That sounds very plausible to me. Still, I'd like to see some quote showing that this was indeed the reason for the original design choice, not just a result of it. Do you have a source? | |
| Jun 13, 2017 at 5:24 | audit | First posts | |||
| Jun 13, 2017 at 5:26 | |||||
| Jun 8, 2017 at 11:25 | vote | accept | David Refoua | ||
| Jun 8, 2017 at 2:05 | history | answered | Karl Bielefeldt | CC BY-SA 3.0 |