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