]> git.ipfire.org Git - thirdparty/git.git/commit
reftable: add test for length of disambiguating prefix
authorHan-Wen Nienhuys <hanwen@google.com>
Mon, 21 Feb 2022 18:46:09 +0000 (18:46 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 23 Feb 2022 21:36:26 +0000 (13:36 -0800)
commit3c443a02a9f98227fa5c22935d88bcf68cfeaeec
treebe1f5be57a985bd2ba069dad06aa86da277e2bfd
parentb4007fcc6fe04deeeb3cdf7b018413f65c9de6e8
reftable: add test for length of disambiguating prefix

The ID => ref map is trimming object IDs to a disambiguating prefix.
Check that we are computing their length correctly.

Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
reftable/readwrite_test.c