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