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

Move `odb_source_loose_find_abbrev_len()` and its associated helpers
from "object-file.c" into "odb/source-loose.c" and wire it up as the
`find_abbrev_len` callback of the loose source.

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