]> git.ipfire.org Git - thirdparty/git.git/commit
refs/ref-cache.c: remove "mkdir" parameter from find_containing_dir()
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Tue, 28 Sep 2021 13:02:23 +0000 (15:02 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 Sep 2021 22:12:04 +0000 (15:12 -0700)
commit5e4546d599abdd1f3bbff0eaef77fe9a0cfcc5c3
tree7cc29906c04784916f462b5bad423e6f2a818669
parent6a99fa2e9eaeb3347f9d129e1231d3e15353105d
refs/ref-cache.c: remove "mkdir" parameter from find_containing_dir()

Remove the "mkdir" parameter from the find_containing_dir() function,
the add_ref_entry() function removed in the preceding commit was its
last user.

Since "mkdir" is always "0" we can also remove the parameter from
search_for_subdir(), which in turn means that we can delete most of
that function.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs/ref-cache.c