summaryrefslogtreecommitdiff
path: root/src/diff.h
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2014-04-28 16:39:53 -0700
committerRussell Belfer <rb@github.com>2014-05-02 09:21:33 -0700
commitcd424ad5518c7cfbba10a764d7bc097377ec3995 (patch)
tree1550287498b398515c12cc24c5f974d8ba2dcc45 /src/diff.h
parent94fb4aadc80c927a59696dc01db03f3a0629dae7 (diff)
downloadlibgit2-cd424ad5518c7cfbba10a764d7bc097377ec3995.tar.gz
Add GIT_STATUS_OPT_UPDATE_INDEX and use trace API
This adds an option to refresh the stat cache while generating status. It also rips out the GIT_PERF stuff I had an makes use of the trace API to keep statistics about what happens during diff.
Diffstat (limited to 'src/diff.h')
-rw-r--r--src/diff.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/diff.h b/src/diff.h
index b2b7dba70..2e7ce0b7d 100644
--- a/src/diff.h
+++ b/src/diff.h
@@ -62,11 +62,6 @@ struct git_diff {
git_iterator_type_t old_src;
git_iterator_type_t new_src;
uint32_t diffcaps;
-#ifdef GIT_PERF
- size_t stat_calls;
- size_t oid_calculations;
- size_t submodule_lookups;
-#endif
int (*strcomp)(const char *, const char *);
int (*strncomp)(const char *, const char *, size_t);