3 ms·
> But please please don’t mutilate historic source code by shoving it into (stupid) git. First of all, git does not preserve timestamps, which causes irreversib
by kazinator 3y ago
> But please please don’t mutilate historic source code by shoving it into (stupid) git. First of all, git does not preserve timestamps, which causes irreversible damage.
Git isn't stupid. A version control system must touch files to the current time whenever it changes them, otherwise timestamp-based incremental builds won't be correct.
Git records dates on a commit (which is an entire baseline of files). You can set that to whatever you want.
You can use that to record the file times, by creating commits which add the specific files, using their exact times.