aboutsummaryrefslogtreecommitdiff
path: root/progress.h
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2007-11-08 15:45:41 -0500
committerJunio C Hamano <gitster@pobox.com>2007-11-08 15:43:41 -0800
commita984a06a07cdd0a843eb6107ad56e346d99ac840 (patch)
treebecc999b97530e57e9fa3941914f8473a8d67b24 /progress.h
parent53ed7b5a5d7a0ad2ffafd4a4ba4a7861f5db624e (diff)
downloadgit-a984a06a07cdd0a843eb6107ad56e346d99ac840.tar.gz
git-a984a06a07cdd0a843eb6107ad56e346d99ac840.tar.xz
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 <nico@cam.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'progress.h')
-rw-r--r--progress.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/progress.h b/progress.h
index 3912969e6..611e4c4d4 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);
#endif