diff options
author | Denton Liu <liu.denton@gmail.com> | 2020-05-19 06:53:59 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-05-24 16:26:00 -0700 |
commit | 0181b600a6deb66a346dbcbe8300cf9e2467ebbb (patch) | |
tree | 505b09228bad56f93db3c56dc789dc9fe2747adb /t/helper/test-date.c | |
parent | remote-curl: error on incomplete packet (diff) | |
download | tgif-0181b600a6deb66a346dbcbe8300cf9e2467ebbb.tar.xz |
pkt-line: define PACKET_READ_RESPONSE_END
In a future commit, we will use PACKET_READ_RESPONSE_END to separate
messages proxied by remote-curl. To prepare for this, add the
PACKET_READ_RESPONSE_END enum value.
In switch statements that need a case added, die() or BUG() when a
PACKET_READ_RESPONSE_END is unexpected. Otherwise, mirror how
PACKET_READ_DELIM is implemented (especially in cases where packets are
being forwarded).
Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-date.c')
0 files changed, 0 insertions, 0 deletions