diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2007-03-12 14:37:28 -0400 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-03-12 16:31:35 -0700 |
commit | 9dc09c766463333ca51311a2db86fd67f4fec19b (patch) | |
tree | 80b28324813c28d2dfdbfa89904937423cb96851 /t | |
parent | Re-fix get_sha1_oneline() (diff) | |
download | tgif-9dc09c766463333ca51311a2db86fd67f4fec19b.tar.xz |
Simplify closing two fds at once in run-command.c
I started hacking on a change to add stdout redirection support to
the run_command family, but found I was using a lot of close calls
on two pipes in an array (such as for pipe). So I'm doing a tiny
bit of refactoring first to make the next set of changes clearer.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions