I understand the default Git behaviour of updating the modification time every time it changes a file, but there are times when I want to restore a file\'s original modifica
I believe the 'proper' fix is to actually compare the SHA1 of each input file to see if it's changed from the last build.
This is a lot of work, however I have started a project to try and create a proof of concept (still very early stage). As well as identifying the correct build steps it's also designed to create an audit list of input files for later forensics.
See http://github.com/alecthegeek/gitbuilding -- it's based on something similar I did a few years ago with SVN