]> git.ipfire.org Git - thirdparty/git.git/commit - pkt-line.c
pkt-line: Make packet_read_line easier to debug
authorShawn O. Pearce <spearce@spearce.org>
Sat, 31 Oct 2009 00:47:22 +0000 (17:47 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 31 Oct 2009 02:20:53 +0000 (19:20 -0700)
commit743c4b7b0fa5422d1bb5dc59c6cb919a881dd98b
tree8bbf63388df51ae51be534dc4eec0cba6bc27d55
parentf5615d246770a2796e60b06dd5e17f5e79d5dd0c
pkt-line: Make packet_read_line easier to debug

When there is an error parsing the 4 byte length component we now
display it as part of the die message, this may hint as to what
data was misunderstood by the application.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
pkt-line.c