diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2011-11-05 19:00:08 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-11-07 22:12:19 -0800 |
commit | dc347195ccfbc87b6e445f5c31a5500e1df6c9b5 (patch) | |
tree | 88de64bfe9c15cb9d97e05afd8fa5e99cff7f45a /reachable.h | |
parent | b04ba2bb42957f63567f530e092385f085b25e63 (diff) | |
download | git-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.h | 3 |
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 |