diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-04-25 10:41:19 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-04-25 10:41:19 +0300 |
commit | 425e51e54d03a510904b9bb10b43a7635f2d085f (patch) | |
tree | 9f4afdd813b43693959bea07ef58d20b4801f27a /progress.h | |
parent | 32dc15dec1cd9e9fada2983094484ae6e4c93647 (diff) | |
parent | 545dc345ebd00adbd96229e8e46b2e8c0b2f1b37 (diff) |
Merge branch 'sg/overlong-progress-fix'
Updating the display with progress message has been cleaned up to
deal better with overlong messages.
* sg/overlong-progress-fix:
progress: break too long progress bar lines
progress: clear previous progress update dynamically
progress: assemble percentage and counters in a strbuf before printing
progress: make display_progress() return void
Diffstat (limited to 'progress.h')
-rw-r--r-- | progress.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/progress.h b/progress.h index 7b725acc8d..847338911f 100644 --- a/progress.h +++ b/progress.h @@ -4,7 +4,7 @@ struct progress; void display_throughput(struct progress *progress, uint64_t total); -int display_progress(struct progress *progress, uint64_t n); +void display_progress(struct progress *progress, uint64_t n); struct progress *start_progress(const char *title, uint64_t total); struct progress *start_sparse_progress(const char *title, uint64_t total); struct progress *start_delayed_progress(const char *title, uint64_t total); |