Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2014-04-29 01:48:41 +0400
committerRussell Belfer <rb@github.com>2014-05-02 20:21:33 +0400
commit94fb4aadc80c927a59696dc01db03f3a0629dae7 (patch)
treec01ad832b1656dcaf9d7e246ae9c3a58586fd838 /src/iterator.h
parent0fc8e1f6bd9a5148d3a262142e9a70126f5c3a42 (diff)
Add diff option to update index stat cache
When diff is scanning the working directory, if it finds a file where it is not sure if the index entry matches the working dir, it will recalculate the OID (which is pretty expensive). This adds a new flag to diff so that if the OID calculation finds that the file actually has not changed (i.e. just the modified time was altered or such), then it will refresh the stat cache in the index so that future calls to diff will not have to check the oid again.
Diffstat (limited to 'src/iterator.h')
0 files changed, 0 insertions, 0 deletions