]> git.ipfire.org Git - thirdparty/git.git/commit
reftable: add a test that verifies that writing empty keys fails
authorHan-Wen Nienhuys <hanwen@google.com>
Mon, 21 Feb 2022 18:46:06 +0000 (18:46 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 23 Feb 2022 21:36:26 +0000 (13:36 -0800)
commit140765911050d62a23503972ef6513ef18252ad3
treef44e3be91c53874bf8bd158def219df57a7d8e4c
parenteff5832ba13b81ebbf68b0c28934fe18ba8601fc
reftable: add a test that verifies that writing empty keys fails

Empty keys can only be written as ref records with empty names. The
log record has a logical timestamp in the key, so the key is never
empty.

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