]> git.ipfire.org Git - thirdparty/git.git/commit - sub-process.h
convert: update subprocess_read_status() to not die on EOF
authorBen Peart <peartben@gmail.com>
Fri, 5 May 2017 15:28:02 +0000 (11:28 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 15 May 2017 04:01:57 +0000 (13:01 +0900)
commit4f2a2e9f0e26c1c543d1f282d6e88b3d0f608d07
treee6f92f415fc89c7c982773020acfa7bd5964477e
parent99605d62e8e7e568035dc953b24b79b3d52f0522
convert: update subprocess_read_status() to not die on EOF

Enable sub-processes to gracefully handle when the process dies by
updating subprocess_read_status to return an error on EOF instead of
dying.

Update apply_multi_file_filter to take advantage of the revised
subprocess_read_status.

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