diff options
author | Han-Wen Nienhuys <hanwen@google.com> | 2021-10-07 20:25:12 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-10-08 10:45:48 -0700 |
commit | acb533440fc0ed32e195987b9946e948a9706560 (patch) | |
tree | 5d15160dab669d0e7ddcf1b07cee068816b0eaae /t/t4018/golang-long-func | |
parent | reftable: add merged table view (diff) | |
download | tgif-acb533440fc0ed32e195987b9946e948a9706560.tar.xz |
reftable: implement refname validation
The packed/loose format has restrictions on refnames: a and a/b cannot
coexist. This limitation does not apply to reftable per se, but must be
maintained for interoperability. This code adds validation routines to
abort transactions that are trying to add invalid names.
Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4018/golang-long-func')
0 files changed, 0 insertions, 0 deletions