index.c
47.9 KB
-
Make git_index_read_tree preserve stat cache · 03a89070
Instead of just blowing away the stat cache data when loading a new tree into the index, this checks if each loaded item has a corresponding existing item with the same OID and if so, copies the stat data from the old item to the new one so it will not be blown away.
Russell Belfer committed