diff options
author | Han-Wen Nienhuys <hanwen@google.com> | 2021-12-23 19:29:49 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-12-23 12:28:34 -0800 |
commit | 0dd44584abf3fee0ba19b5edf856be2a79974228 (patch) | |
tree | f0ef0abeab44fac6db9743ca636710b52c9ae4d9 /ll-merge.h | |
parent | reftable: fix typo in header (diff) | |
download | tgif-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 'll-merge.h')
0 files changed, 0 insertions, 0 deletions