]> Kevux Git Server - rit/commit
odb/source-loose: wire up `close()` callback
authorPatrick Steinhardt <ps@pks.im>
Mon, 1 Jun 2026 08:20:28 +0000 (10:20 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 Jun 2026 09:47:17 +0000 (18:47 +0900)
commit337b7fccba1cca8b7d9232b5e6e9ff53271f0398
treebc2f8d369aae1bc77866a25b23370dd832a0c4cb
parenta2b7db9bc8d52f133fe8fcb317788d9fe8696f07
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