summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4e2e564)
raw | patch | inline | side by side (parent: 4e2e564)
author | Linus Torvalds <torvalds@osdl.org> | |
Sun, 4 Jun 2006 17:48:31 +0000 (10:48 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 5 Jun 2006 19:26:53 +0000 (12:26 -0700) |
Anton Blanchard spotted that watching checkout stage of a clone
on a slow terminal takes ages because it forgot to clear the
"once a second happened" flag, so instead of updates the
percentage output for every file it checks out after the first
second has passed.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
on a slow terminal takes ages because it forgot to clear the
"once a second happened" flag, so instead of updates the
percentage output for every file it checks out after the first
second has passed.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-read-tree.c | patch | blob | history |
diff --git a/builtin-read-tree.c b/builtin-read-tree.c
index 085e11e7c481bef35f88b3db50aa43c99f3c7768..8d1a22d3739b8f9aaac41b99df4805fc4306dc79 100644 (file)
--- a/builtin-read-tree.c
+++ b/builtin-read-tree.c
fprintf(stderr, "%4u%% (%u/%u) done\r",
percent, cnt, total);
last_percent = percent;
+ progress_update = 0;
}
}
}