]> git.ipfire.org Git - thirdparty/git.git/commit
submodule.c: refactor recursive block out of absorb function
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Tue, 8 Nov 2022 14:10:36 +0000 (15:10 +0100)
committerTaylor Blau <me@ttaylorr.com>
Tue, 8 Nov 2022 19:55:30 +0000 (14:55 -0500)
commit46e87b548290ca59644a9d1265fe7451a6e64d8e
treeab53efa7d3fa1074f43aeefc37380abf9bf2650b
parentd50d8485ef03898a4f51fd99daa65217f2b713ae
submodule.c: refactor recursive block out of absorb function

A move and indentation-only change to move the
ABSORB_GITDIR_RECURSE_SUBMODULES case into its own function, which as
we'll see makes the subsequent commit changing this code much smaller.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
submodule.c