From 13aaf148258808437c485d3ef54c7ae7668384d7 Mon Sep 17 00:00:00 2001 From: Nicolas Pitre Date: Fri, 20 Apr 2007 14:10:07 -0400 Subject: make progress "title" part of the common progress interface If the progress bar ends up in a box, better provide a title for it too. Signed-off-by: Nicolas Pitre Signed-off-by: Junio C Hamano --- unpack-trees.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'unpack-trees.c') diff --git a/unpack-trees.c b/unpack-trees.c index 8a11622ccb..cefc4042d5 100644 --- a/unpack-trees.c +++ b/unpack-trees.c @@ -308,10 +308,9 @@ static void check_updates(struct cache_entry **src, int nr, if (total < 250) total = 0; - if (total) { - fprintf(stderr, "Checking files out...\n"); - start_progress(&progress, "", total); - } + if (total) + start_progress(&progress, "Checking %u files out...", + "", total); cnt = 0; } -- cgit v1.2.1