]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/rev-list.c
revision.c: put promisor option in specialized struct
authorMatthew DeVore <matvore@google.com>
Mon, 3 Dec 2018 22:10:19 +0000 (14:10 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 6 Dec 2018 05:52:56 +0000 (14:52 +0900)
commitbbcde41a70a7e0264c214896aac84d1ec3fdcbf6
treea43a0775df8d2cc095b39ddd9cefd94c4d7c11dc
parent669b1d2aaec73ba762bf566078308075886ca208
revision.c: put promisor option in specialized struct

Put the allow_exclude_promisor_objects flag in setup_revision_opt. When
it was in rev_info, it was unclear when it was used, since rev_info is
passed to functions that don't use the flag. This resulted in
unnecessary setting of the flag in prune.c, so fix that as well.

Signed-off-by: Matthew DeVore <matvore@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/pack-objects.c
builtin/prune.c
builtin/rev-list.c
revision.c
revision.h