]> git.ipfire.org Git - thirdparty/git.git/commit - revision.h
revision: rename bit to `do_not_die_on_missing_objects`
authorKarthik Nayak <karthik.188@gmail.com>
Thu, 26 Oct 2023 10:11:07 +0000 (12:11 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Nov 2023 03:07:18 +0000 (12:07 +0900)
commitca556f47076932a07590c62aad772cfc89491614
tree9e6d2e735230680d74ebe57b1ae6564c158691c3
parent922cc26e414f91d96f8c6c806c02962edb6158c9
revision: rename bit to `do_not_die_on_missing_objects`

The bit `do_not_die_on_missing_tree` is used in revision.h to ensure the
revision walker does not die when encountering a missing tree. This is
currently exclusively set within `builtin/rev-list.c` to ensure the
`--missing` option works with missing trees.

In the upcoming commits, we will extend `--missing` to also support
missing commits. So let's rename the bit to
`do_not_die_on_missing_objects`, which is object type agnostic and can
be used for both trees/commits.

Signed-off-by: Karthik Nayak <karthik.188@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/reflog.c
builtin/rev-list.c
list-objects.c
revision.h