]> Kevux Git Server - rit/commit
object-name: extract function to parse object ID prefixes
authorPatrick Steinhardt <ps@pks.im>
Fri, 20 Mar 2026 07:07:32 +0000 (08:07 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 20 Mar 2026 20:16:42 +0000 (13:16 -0700)
commit28c9254e3b3e1304b5a6c36146cf6fec29f3f5d3
tree845d3ec9628e1560e48d7fe417b4a15beb265703
parente30bff8f8402f0f147a08fe00b75e24f293fa870
object-name: extract function to parse object ID prefixes

Extract the logic that parses an object ID prefix into a new function.
This function will be used by a second callsite in a subsequent commit.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
object-name.c