diff options
author | Michal Nazarewicz <mina86@mina86.com> | 2013-02-12 15:02:30 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-02-12 13:11:55 -0800 |
commit | 1323dba6afad29d3cd07e9da85b947bfc2b912de (patch) | |
tree | 711dc4c1af11183300937094bb7d0e3c91129de2 /match-trees.c | |
parent | Git.pm: fix example in command_close_bidi_pipe documentation (diff) | |
download | tgif-1323dba6afad29d3cd07e9da85b947bfc2b912de.tar.xz |
Git.pm: refactor command_close_bidi_pipe to use _cmd_close
The body of the loop in command_close_bidi_pipe sub is identical to
what _cmd_close sub does.
Instead of duplicating, refactor _cmd_close so that it accepts a
list of file handles to be closed, which makes it usable with
command_close_bidi_pipe.
Signed-off-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'match-trees.c')
0 files changed, 0 insertions, 0 deletions