diff options
| author | Junio C Hamano <gitster@pobox.com> | 2020-05-01 13:39:56 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2020-05-01 13:39:56 -0700 |
| commit | bf04590ecdf87d0ad034f7fbff36a10eb20637cb (patch) | |
| tree | 0eec97b7ca3c86fffe3d510ed124789d09c77a5a /progress.h | |
| parent | 3e68f552f3c3aa5b16570a87d3ffd74b2d866ba8 (diff) | |
| parent | 3cacb9aaf46cef6f9cd9b3a859fcc64416954b56 (diff) | |
| download | git-bf04590ecdf87d0ad034f7fbff36a10eb20637cb.tar.gz | |
Merge branch 'dd/sparse-fixes'
Compilation fix.
* dd/sparse-fixes:
progress.c: silence cgcc suggestion about internal linkage
graph.c: limit linkage of internal variable
compat/regex: move stdlib.h up in inclusion chain
test-parse-pathspec-file.c: s/0/NULL/ for pointer type
Diffstat (limited to 'progress.h')
| -rw-r--r-- | progress.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/progress.h b/progress.h index 847338911f..f1913acf73 100644 --- a/progress.h +++ b/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); |
