]> git.99rst.org Git - git.git/commit
odb/source-packed: wire up `freshen_object()` callback
authorPatrick Steinhardt <redacted>
Wed, 17 Jun 2026 06:39:57 +0000 (08:39 +0200)
committerJunio C Hamano <redacted>
Wed, 17 Jun 2026 12:00:01 +0000 (05:00 -0700)
commit98189bdd0a789115e3bb5ec5d5312ce71d6f59b0
treec6cb9fc32824f0d2accc032876b737ada44dc545
parent3c0f7b732e37b885009cdc64a13541591ebab00e
odb/source-packed: wire up `freshen_object()` callback

Move `packfile_store_freshen_object()` and from "packfile.c" into
"odb/source-packed.c" and wire it up as the `freshen_object()` callback
of the "packed" source.

Note that this removes the last external caller of `find_pack_entry()`
from "packfile.c", which means that we can now make this function
static.

Signed-off-by: Patrick Steinhardt <redacted>
Signed-off-by: Junio C Hamano <redacted>
odb/source-files.c
odb/source-packed.c
odb/source-packed.h
packfile.c
packfile.h
git clone https://git.99rst.org/PROJECT