summaryrefslogtreecommitdiff
path: root/reachable.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2011-11-05 19:00:08 +0700
committerJunio C Hamano <gitster@pobox.com>2011-11-07 22:12:19 -0800
commitdc347195ccfbc87b6e445f5c31a5500e1df6c9b5 (patch)
tree88de64bfe9c15cb9d97e05afd8fa5e99cff7f45a /reachable.h
parentb04ba2bb42957f63567f530e092385f085b25e63 (diff)
downloadgit-dc347195ccfbc87b6e445f5c31a5500e1df6c9b5.tar.gz
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 'reachable.h')
-rw-r--r--reachable.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/reachable.h b/reachable.h
index 40751810b6..5d082adfec 100644
--- a/reachable.h
+++ b/reachable.h
@@ -1,6 +1,7 @@
#ifndef REACHEABLE_H
#define REACHEABLE_H
-extern void mark_reachable_objects(struct rev_info *revs, int mark_reflog);
+struct progress;
+extern void mark_reachable_objects(struct rev_info *revs, int mark_reflog, struct progress *);
#endif