]> git.99rst.org Git - git.git/commit
treewide: convert users of `whence` to the new source field
authorPatrick Steinhardt <redacted>
Thu, 2 Jul 2026 12:02:02 +0000 (14:02 +0200)
committerJunio C Hamano <redacted>
Thu, 2 Jul 2026 16:52:32 +0000 (09:52 -0700)
commit2242f7ee36e9ec1a70314b685b1680e641e56f88
treef29f9058dbd0f5d1893bd192c212494190476d97
parent32a95be604e710d38e05d0013fbb2a64257c4014
treewide: convert users of `whence` to the new source field

The `whence` field has become redundant now that callers can learn about
the exact source an object has been looked up from via the `struct
object_info_source::source` field.

Adapt callers to use the new field. Note that all callsites already set
up the `info.sourcep` request pointer, so the conversion is rather
straight-forward.

Signed-off-by: Patrick Steinhardt <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/cat-file.c
builtin/index-pack.c
builtin/pack-objects.c
reachable.c
git clone https://git.99rst.org/PROJECT