summaryrefslogtreecommitdiff
path: root/Documentation/git-credential-cache--daemon.txt
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2020-10-19 19:35:41 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-10-20 13:31:02 -0700
commit8e86cf6581655624e1f3284126c5ea664685eb44 (patch)
tree0b0d50aa9a7f0354be6f67278a87fe560c518296 /Documentation/git-credential-cache--daemon.txt
parentsideband: avoid reporting incomplete sideband messages (diff)
downloadtgif-8e86cf6581655624e1f3284126c5ea664685eb44.tar.xz
sideband: report unhandled incomplete sideband messages as bugs
It was pretty tricky to verify that incomplete sideband messages are handled correctly by the `recv_sideband()`/`demultiplex_sideband()` code: they have to be flushed out at the end of the loop in `recv_sideband()`, but the actual flushing is done by the `demultiplex_sideband()` function (which therefore has to know somehow that the loop will be done after it returns). To catch future bugs where incomplete sideband messages might not be shown by mistake, let's catch that condition and report a bug. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-credential-cache--daemon.txt')
0 files changed, 0 insertions, 0 deletions