]> git.ipfire.org Git - thirdparty/git.git/commit
odb/source-loose: wire up `close()` callback
authorPatrick Steinhardt <ps@pks.im>
Thu, 21 May 2026 08:22:25 +0000 (10:22 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 21 May 2026 13:35:19 +0000 (22:35 +0900)
commitf9405b3bd138668b83d948798f342eedbc92bb61
treed18cfaa50154180593d264e6d192969101fc4d30
parent3b10fea35563f1bb3bdbdbe55d79cbfc244958a7
odb/source-loose: wire up `close()` callback

Wire up a new `close()` callback for the loose source and call it from
the "files" source via the generic `odb_source_close()` interface. The
callback itself is a no-op as the loose source has no resources that
need to be released on close.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
odb/source-files.c
odb/source-loose.c