3 ms·
doesn't git hold a checksum for all files changed in a change-set ?
by mistrial9 7y ago
doesn't git hold a checksum for all files changed in a change-set ?
- kontorlaore 7y agoAs an optimization git doesn't check files with an "old" date. Running git status in an 1 GB checkout directory will return instantly. Do you really believe it has hashed all those files?
- structural 7y agoThat doesn't stop you from changing something in your working copy. The hack here is that the working copy used to build from wasn't a clean clone on each build, so just fetching changes from the (un-pwned) github repository would apply those changes and not affect the modified file on the build server.