summaryrefslogtreecommitdiff
path: root/index-pack.c
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2007-10-17 01:55:45 (GMT)
committerShawn O. Pearce <spearce@spearce.org>2007-10-17 06:54:55 (GMT)
commit42e18fbf5f94dd6bd303bf702e030a29fa39d6c4 (patch)
tree5ecf0327f3b5a99e0fc37709aef674d56d825638 /index-pack.c
parent207f1a75e7e4d14286aeed107af7c56dc811797b (diff)
downloadgit-42e18fbf5f94dd6bd303bf702e030a29fa39d6c4.zip
git-42e18fbf5f94dd6bd303bf702e030a29fa39d6c4.tar.gz
git-42e18fbf5f94dd6bd303bf702e030a29fa39d6c4.tar.bz2
more compact progress display
Each progress can be on a single line instead of two. [sp: Changed "Checking files out" to "Checking out files" at Johannes Sixt's suggestion as it better explains the action that is taking place] Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'index-pack.c')
-rw-r--r--index-pack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/index-pack.c b/index-pack.c
index db58e05..c784dec 100644
--- a/index-pack.c
+++ b/index-pack.c
@@ -406,7 +406,7 @@ static void parse_pack_objects(unsigned char *sha1)
* - remember base (SHA1 or offset) for all deltas.
*/
if (verbose)
- start_progress(&progress, "Indexing %u objects...", "", nr_objects);
+ start_progress(&progress, "Indexing objects", nr_objects);
for (i = 0; i < nr_objects; i++) {
struct object_entry *obj = &objects[i];
data = unpack_raw_entry(obj, &delta->base);
@@ -455,7 +455,7 @@ static void parse_pack_objects(unsigned char *sha1)
* for some more deltas.
*/
if (verbose)
- start_progress(&progress, "Resolving %u deltas...", "", nr_deltas);
+ start_progress(&progress, "Resolving deltas", nr_deltas);
for (i = 0; i < nr_objects; i++) {
struct object_entry *obj = &objects[i];
union delta_base base;