
13 Dec
2013
13 Dec
'13
10:37 p.m.
Matthew Cengia <mattcen@gmail.com> wrote:
Keep in mind that by its very nature, git would not stage unchanged files, because it would hash the file, determine immediately via hash table that the hash already existed in the object store, and not bother to store it again. It *does* have to go through the entire process of *calculating* the hash for each file every time though, as far as I know.
does it exclude unchanged files based on the last modification time? If so, it only needs to look at the directory entries. It already has the date/time of the commit relative to which changes are to be calculated.