]> git.99rst.org Git - git.git/commit
odb/source-packed: wire up `reprepare()` callback
authorPatrick Steinhardt <redacted>
Wed, 17 Jun 2026 06:39:50 +0000 (08:39 +0200)
committerJunio C Hamano <redacted>
Wed, 17 Jun 2026 12:00:00 +0000 (05:00 -0700)
commit9ea4ef8586d8fa74bf45c1dd8da2256099abebbd
tree257d5d204d9b6280031e1438e25b124caee289a9
parent4f35c8b060085835150ab605207f6669e58a8d94
odb/source-packed: wire up `reprepare()` callback

Move the logic to prepare and reprepare the "packed" source into
"odb/source-packed.c" and wire it up as the `reprepare()` callback.

Note that "preparing" a source is not yet generic. Eventually, it would
probably make sense to turn the existing `reprepare()` callback into a
`prepare()` callback with an optional flag to force re-preparing. But
this step will be handled in a separate patch series.

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