summaryrefslogtreecommitdiff
path: root/builtin/reflog.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2011-11-05 12:00:08 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-11-08 06:12:19 (GMT)
commitdc347195ccfbc87b6e445f5c31a5500e1df6c9b5 (patch)
tree88de64bfe9c15cb9d97e05afd8fa5e99cff7f45a /builtin/reflog.c
parentb04ba2bb42957f63567f530e092385f085b25e63 (diff)
downloadgit-dc347195ccfbc87b6e445f5c31a5500e1df6c9b5.zip
git-dc347195ccfbc87b6e445f5c31a5500e1df6c9b5.tar.gz
git-dc347195ccfbc87b6e445f5c31a5500e1df6c9b5.tar.bz2
prune: show progress while marking reachable objects
prune already shows progress meter while pruning. The marking part may take a few seconds or more, depending on repository size. Show progress meter during this time too. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/reflog.c')
-rw-r--r--builtin/reflog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/reflog.c b/builtin/reflog.c
index 3a9c80f..062d7da 100644
--- a/builtin/reflog.c
+++ b/builtin/reflog.c
@@ -647,7 +647,7 @@ static int cmd_reflog_expire(int argc, const char **argv, const char *prefix)
init_revisions(&cb.revs, prefix);
if (cb.verbose)
printf("Marking reachable objects...");
- mark_reachable_objects(&cb.revs, 0);
+ mark_reachable_objects(&cb.revs, 0, NULL);
if (cb.verbose)
putchar('\n');
}