aboutsummaryrefslogtreecommitdiffstats
path: root/progress.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-04-25 16:41:19 +0900
committerJunio C Hamano <gitster@pobox.com>2019-04-25 16:41:19 +0900
commit425e51e54d03a510904b9bb10b43a7635f2d085f (patch)
tree9f4afdd813b43693959bea07ef58d20b4801f27a /progress.h
parent32dc15dec1cd9e9fada2983094484ae6e4c93647 (diff)
parent545dc345ebd00adbd96229e8e46b2e8c0b2f1b37 (diff)
downloadgit-425e51e54d03a510904b9bb10b43a7635f2d085f.tar.gz
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.h2
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);