about summary refs log tree commit diff
path: root/third_party/git/progress.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/progress.h')
-rw-r--r--third_party/git/progress.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/third_party/git/progress.h b/third_party/git/progress.h
index 847338911fbb..f1913acf73f1 100644
--- a/third_party/git/progress.h
+++ b/third_party/git/progress.h
@@ -3,6 +3,14 @@
 
 struct progress;
 
+#ifdef GIT_TEST_PROGRESS_ONLY
+
+extern int progress_testing;
+extern uint64_t progress_test_ns;
+void progress_test_force_update(void);
+
+#endif
+
 void display_throughput(struct progress *progress, uint64_t total);
 void display_progress(struct progress *progress, uint64_t n);
 struct progress *start_progress(const char *title, uint64_t total);