mirror of
https://github.com/git/git.git
synced 2026-03-01 02:58:47 +00:00
The spec says 2 <= object_id_len <= 31. We are lenient and allow 1, but we forbid 0, so we can be sure that we never read a 0-length key. Signed-off-by: Han-Wen Nienhuys <hanwen@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
18 KiB
18 KiB