]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/rev-list.c
rev-list: fix --verify-objects --quiet becoming --objects
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Tue, 28 Feb 2012 14:00:00 +0000 (21:00 +0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 Feb 2012 18:47:30 +0000 (10:47 -0800)
commit989937221a95cd6c3a829da043162e18e0371b1e
treec73378350bbdf2ca0d877c7532281f6521c6f6d8
parent8ba8fe049feb9207dd3543c339da955336e5df8f
rev-list: fix --verify-objects --quiet becoming --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>
bisect.h
builtin/rev-list.c