]> git.ipfire.org Git - thirdparty/git.git/commit - pkt-line.c
pkt-line: add packet_read_line_gently()
authorBen Peart <peartben@gmail.com>
Fri, 5 May 2017 15:27:55 +0000 (11:27 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 8 May 2017 01:57:26 +0000 (10:57 +0900)
commit825b9226bf7a962bc76571319b1444bc02fdcdf8
tree25c951682283cdff32e19364c143c69efcd23a40
parent974b50c5565107e1e3209176682ee6f6e420bd2b
pkt-line: add packet_read_line_gently()

Add packet_read_line_gently() to enable reading a line without dying on
EOF.

Signed-off-by: Ben Peart <benpeart@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
pkt-line.c
pkt-line.h