diff options
author | Han-Wen Nienhuys <hanwen@google.com> | 2022-02-21 18:46:08 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-02-23 13:36:26 -0800 |
commit | b4007fcc6fe04deeeb3cdf7b018413f65c9de6e8 (patch) | |
tree | a7b8e751d99cd417e83ce169aeeedaf74903adbc /graph.c | |
parent | reftable: avoid writing empty keys at the block layer (diff) | |
download | tgif-b4007fcc6fe04deeeb3cdf7b018413f65c9de6e8.tar.xz |
reftable: ensure that obj_id_len is >= 2 on writing
When writing the same hash many times, we might decide to use a
length-1 object ID prefix for the ObjectID => ref table, which is out
of spec.
Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'graph.c')
0 files changed, 0 insertions, 0 deletions