path: root/progress.h
diff options
authorNicolas Pitre <>2007-11-08 20:45:41 (GMT)
committerJunio C Hamano <>2007-11-08 23:43:41 (GMT)
commita984a06a07cdd0a843eb6107ad56e346d99ac840 (patch)
treebecc999b97530e57e9fa3941914f8473a8d67b24 /progress.h
parent53ed7b5a5d7a0ad2ffafd4a4ba4a7861f5db624e (diff)
nicer display of thin pack completion
In the same spirit of prettifying Git's output display for mere mortals, here's a simple extension to the progress API allowing for a final message to be provided when terminating a progress line, and use it for the display of the number of objects needed to complete a thin pack, saving yet one more line of screen display. Signed-off-by: Nicolas Pitre <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'progress.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/progress.h b/progress.h
index 3912969..611e4c4 100644
--- a/progress.h
+++ b/progress.h
@@ -9,5 +9,6 @@ struct progress *start_progress(const char *title, unsigned total);
struct progress *start_progress_delay(const char *title, unsigned total,
unsigned percent_treshold, unsigned delay);
void stop_progress(struct progress **progress);
+void stop_progress_msg(struct progress **progress, const char *msg);