]> git.ipfire.org Git - thirdparty/git.git/commit
submodule--helper: don't use bitfield indirection for parse_options()
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sat, 5 Mar 2022 00:13:54 +0000 (16:13 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sat, 5 Mar 2022 00:39:12 +0000 (16:39 -0800)
commited9c84853e99e2dbbb2b49898ca7badfe1686474
treeb47a26bc88c39a362cb679adf7277354faab585c
parenta77c3fcb5ec535507e1e71da4f642151f65b4b17
submodule--helper: don't use bitfield indirection for parse_options()

Do away with the indirection of local variables added in
c51f8f94e5b (submodule--helper: run update procedures from C,
2021-08-24).

These were only needed because in C you can't get a pointer to a
single bit, so we were using intermediate variables instead.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Glen Choo <chooglen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/submodule--helper.c