summaryrefslogtreecommitdiff
path: root/fsck.h
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2021-03-28 13:15:50 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-03-29 02:03:10 (GMT)
commitc96e184cae4294a4ebd18a1bdf8d6514445f32e4 (patch)
tree2ed04b5faf988d09f8e37f7a072090ca9ca08384 /fsck.h
parent462f5cae0f764569da4e6a7ab40ee1d3b85353ed (diff)
downloadgit-c96e184cae4294a4ebd18a1bdf8d6514445f32e4.zip
git-c96e184cae4294a4ebd18a1bdf8d6514445f32e4.tar.gz
git-c96e184cae4294a4ebd18a1bdf8d6514445f32e4.tar.bz2
fetch-pack: use file-scope static struct for fsck_options
Change code added in 5476e1efde (fetch-pack: print and use dangling .gitmodules, 2021-02-22) so that we use a file-scoped "static struct fsck_options" instead of defining one in the "fsck_gitmodules_oids()" function. We use this pattern in all of builtin/{fsck,index-pack,mktag,unpack-objects}.c. It's odd to see fetch-pack be the odd one out. One might think that we're using other fsck_options structs in fetch-pack, or doing on fsck twice there, but we're not. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'fsck.h')
0 files changed, 0 insertions, 0 deletions