read-tree: fix eye-candy.
[gitweb.git] / builtin-read-tree.c
index 085e11e7c481bef35f88b3db50aa43c99f3c7768..8d1a22d3739b8f9aaac41b99df4805fc4306dc79 100644 (file)
@@ -376,6 +376,7 @@ static void check_updates(struct cache_entry **src, int nr)
                                        fprintf(stderr, "%4u%% (%u/%u) done\r",
                                                percent, cnt, total);
                                        last_percent = percent;
+                                       progress_update = 0;
                                }
                        }
                }