summaryrefslogtreecommitdiff
path: root/bisect.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2012-02-28 21:00:00 +0700
committerJunio C Hamano <gitster@pobox.com>2012-02-28 10:47:30 -0800
commit989937221a95cd6c3a829da043162e18e0371b1e (patch)
treec73378350bbdf2ca0d877c7532281f6521c6f6d8 /bisect.h
parent8ba8fe049feb9207dd3543c339da955336e5df8f (diff)
downloadgit-989937221a95cd6c3a829da043162e18e0371b1e.tar.gz
rev-list: fix --verify-objects --quiet becoming --objectsnd/maint-verify-objects
When --quiet is specified, finish_object() is called instead of show_object(). The latter is in charge of --verify-objects and will be skipped if --quiet is specified. Move the code up to finish_object(). Also pass the quiet flag along and make it always call show_* functions to avoid similar problems in future. 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 'bisect.h')
-rw-r--r--bisect.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bisect.h b/bisect.h
index b06949e9db..ec3c3ff007 100644
--- a/bisect.h
+++ b/bisect.h
@@ -15,12 +15,12 @@ extern void print_commit_list(struct commit_list *list,
const char *format_cur,
const char *format_last);
-/* bisect_show_flags flags in struct rev_list_info */
#define BISECT_SHOW_ALL (1<<0)
+#define REV_LIST_QUIET (1<<1)
struct rev_list_info {
struct rev_info *revs;
- int bisect_show_flags;
+ int flags;
int show_timestamp;
int hdr_termination;
const char *header_prefix;