summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2015-06-12 17:28:14 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-06-15 13:25:52 -0700
commitd6d1a75e51cf90650ac6e2cdcd8d108324b6fdb9 (patch)
tree21b1758d27125777ad2a2e16682209e1ec99814a /contrib
parentpkt-line: simplify starts_with checks in packet tracing (diff)
downloadtgif-d6d1a75e51cf90650ac6e2cdcd8d108324b6fdb9.tar.xz
pkt-line: tighten sideband PACK check when tracing
To find the start of the pack data, we accept the word PACK at the beginning of any sideband channel, even though what we really want is to find the pack data on channel 1. In practice this doesn't matter, as sideband-2 messages tend to start with "error:" or similar, but it is a good idea to be explicit (especially as we add more code in this area, we will rely on this assumption). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions