summaryrefslogtreecommitdiff
path: root/git-cvsserver.perl
diff options
context:
space:
mode:
authorLibravatar Michal Nazarewicz <mina86@mina86.com>2013-02-12 15:02:30 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-02-12 13:11:55 -0800
commit1323dba6afad29d3cd07e9da85b947bfc2b912de (patch)
tree711dc4c1af11183300937094bb7d0e3c91129de2 /git-cvsserver.perl
parentGit.pm: fix example in command_close_bidi_pipe documentation (diff)
downloadtgif-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 'git-cvsserver.perl')
0 files changed, 0 insertions, 0 deletions