aboutsummaryrefslogtreecommitdiff
path: root/unpack-trees.c
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2007-04-20 14:10:07 -0400
committerJunio C Hamano <junkio@cox.net>2007-04-22 22:18:05 -0700
commit13aaf148258808437c485d3ef54c7ae7668384d7 (patch)
tree17f2ec24d48906b44948b3091129688ea402f9f7 /unpack-trees.c
parent96a02f8f6d2192d3686cd1c719044082c89e8391 (diff)
downloadgit-13aaf148258808437c485d3ef54c7ae7668384d7.tar.gz
git-13aaf148258808437c485d3ef54c7ae7668384d7.tar.xz
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 <nico@cam.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'unpack-trees.c')
-rw-r--r--unpack-trees.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/unpack-trees.c b/unpack-trees.c
index 8a11622cc..cefc4042d 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;
}