Git.pm: allow pipes to be closed prior to calling command_close_bidi_pipe
authorMichal Nazarewicz <mina86@mina86.com>
Tue, 12 Feb 2013 14:02:31 +0000 (15:02 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 12 Feb 2013 21:15:11 +0000 (13:15 -0800)
The command_close_bidi_pipe() function will insist on closing both
input and output pipes returned by command_bidi_pipe(). With this
change it is possible to close one of the pipes in advance and pass
undef as an argument.

Signed-off-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found