Hi Linus, > It is indeed. It's _meant_ to only tick once a second or when the > percentage changes, but I think 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. > > So something like this should help... Can you verify? Thanks, it fixes it. Anton > diff --git a/builtin-read-tree.c b/builtin-read-tree.c > index 716f792..80c9320 100644 > --- a/builtin-read-tree.c > +++ b/builtin-read-tree.c > @@ -336,6 +336,7 @@ static void check_updates(struct cache_e > fprintf(stderr, "%4u%% (%u/%u) done\r", > percent, cnt, total); > last_percent = percent; > + progress_update = 0; > } > } > } - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Mon Jun 05 08:31:12 2006
This archive was generated by hypermail 2.1.8 : 2006-06-05 08:31:33 EST