summaryrefslogtreecommitdiff
path: root/connected.c
diff options
context:
space:
mode:
authorLibravatar Han-Wen Nienhuys <hanwen@google.com>2021-12-23 19:29:49 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-12-23 12:28:34 -0800
commit0dd44584abf3fee0ba19b5edf856be2a79974228 (patch)
treef0ef0abeab44fac6db9743ca636710b52c9ae4d9 /connected.c
parentreftable: fix typo in header (diff)
downloadtgif-0dd44584abf3fee0ba19b5edf856be2a79974228.tar.xz
reftable: signal overflow
reflog entries have unbounded size. In theory, each log ('g') block in reftable can have an arbitrary size, so the format allows for arbitrarily sized reflog messages. However, in the implementation, we are not scaling the log blocks up with the message, and writing a large message fails. This triggers a failure for reftable in t7006-pager.sh. Until this is fixed more structurally, report an error from within the reftable library for easier debugging. Signed-off-by: Han-Wen Nienhuys <hanwen@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'connected.c')
0 files changed, 0 insertions, 0 deletions