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 03:39:53 +0400
committerRussell Belfer <rb@github.com>2014-05-02 20:21:33 +0400
commitcd424ad5518c7cfbba10a764d7bc097377ec3995 (patch)
tree1550287498b398515c12cc24c5f974d8ba2dcc45 /src/iterator.h
parent94fb4aadc80c927a59696dc01db03f3a0629dae7 (diff)
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/iterator.h')
-rw-r--r--src/iterator.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/iterator.h b/src/iterator.h
index 2968b8c0c..ba9c1e486 100644
--- a/src/iterator.h
+++ b/src/iterator.h
@@ -53,10 +53,6 @@ struct git_iterator {
char *end;
int (*prefixcomp)(const char *str, const char *prefix);
unsigned int flags;
-#ifdef GIT_PERF
- size_t stat_calls;
- size_t submodule_lookups;
-#endif
};
extern int git_iterator_for_nothing(