summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cf84d51)
raw | patch | inline | side by side (parent: cf84d51)
author | Nicolas Pitre <nico@cam.org> | |
Tue, 30 Oct 2007 18:57:35 +0000 (14:57 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 30 Oct 2007 23:08:40 +0000 (16:08 -0700) |
... and call it "Receiving objects" when over stdin to look clearer
to end users.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
to end users.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
index-pack.c | patch | blob | history |
diff --git a/index-pack.c b/index-pack.c
index 879ea1548562b84a079a45c6195ab5a286195042..61ea7621bef3d653b3b88ba89801305b95a8d1a7 100644 (file)
--- a/index-pack.c
+++ b/index-pack.c
die("early EOF");
die("read error on input: %s", strerror(errno));
}
+ if (from_stdin)
+ display_throughput(progress, ret);
input_len += ret;
} while (input_len < min);
return input_buffer;
* - remember base (SHA1 or offset) for all deltas.
*/
if (verbose)
- progress = start_progress("Indexing objects", nr_objects);
+ progress = start_progress(
+ from_stdin ? "Receiving objects" : "Indexing objects",
+ nr_objects);
for (i = 0; i < nr_objects; i++) {
struct object_entry *obj = &objects[i];
data = unpack_raw_entry(obj, &delta->base);