summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ed1902e)
raw | patch | inline | side by side (parent: ed1902e)
author | Nicolas Pitre <nico@cam.org> | |
Wed, 17 Oct 2007 01:55:47 +0000 (21:55 -0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Wed, 17 Oct 2007 06:54:56 +0000 (02:54 -0400) |
... so don't even try in that case, and save another useless line of
progress display.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
progress display.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
builtin-pack-objects.c | patch | blob | history |
diff --git a/builtin-pack-objects.c b/builtin-pack-objects.c
index df69abd514dddd5d1bf69b341536f75407d780ab..d729cb7237601133c2b60d6be40f0bb031dcf366 100644 (file)
--- a/builtin-pack-objects.c
+++ b/builtin-pack-objects.c
delta_list[n++] = entry;
}
- if (nr_deltas) {
+ if (nr_deltas && n > 1) {
unsigned nr_done = 0;
if (progress)
start_progress(&progress_state, "Deltifying objects",