]> git.ipfire.org Git - thirdparty/git.git/commit
object-file: move `fetch_if_missing`
authorPatrick Steinhardt <ps@pks.im>
Mon, 3 Nov 2025 07:41:59 +0000 (08:41 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 Nov 2025 20:18:46 +0000 (12:18 -0800)
commit0cc12dedef2885dba8cf2635697767d394baf91f
tree1d2b547e2b899d21834cdc9b12a311e72877bb5c
parentc2da110411919387fef0f869181fb510d06295d8
object-file: move `fetch_if_missing`

The `fetch_if_missing` global variable is declared in "object-file.h"
but defined in "odb.c". The variable relates to the whole object
database instead of only loose objects, so move the declaration into
"odb.h" accordingly.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
object-file.h
odb.h