diff options
author | Russell Belfer <rb@github.com> | 2013-05-31 21:49:40 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-05-31 21:49:40 -0700 |
commit | 03a89070782f92d994feae960b1a8b3fb14adbc8 (patch) | |
tree | 38becdfa8dfa41d07e6b3087d9cfbfd75d19e8c4 /include/git2/diff.h | |
parent | 17ef7dbce4e4eaa08ed7007b6d67f375759846a8 (diff) | |
download | libgit2-03a89070782f92d994feae960b1a8b3fb14adbc8.tar.gz |
Make git_index_read_tree preserve stat cache
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.
Diffstat (limited to 'include/git2/diff.h')
0 files changed, 0 insertions, 0 deletions