]> git.ipfire.org Git - thirdparty/git.git/commit - run-command.h
run-command: move check_pipe() from write_or_die to run_command
authorLars Schneider <larsxschneider@gmail.com>
Sun, 16 Oct 2016 23:20:27 +0000 (16:20 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 17 Oct 2016 18:36:49 +0000 (11:36 -0700)
commitb992fe104ecde5a362a31d610de96518f398d5c0
tree7b63544375c45467f481b0e9898146c3b5a6c147
parented54970324ec0be0f11e1c2af100ea8b1c01a05a
run-command: move check_pipe() from write_or_die to run_command

Move check_pipe() to run_command and make it public. This is necessary
to call the function from pkt-line in a subsequent patch.

While at it, make async_exit() static to run_command.c as it is no
longer used from outside.

Signed-off-by: Lars Schneider <larsxschneider@gmail.com>
Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
run-command.c
run-command.h
write_or_die.c