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 | 1358e7d670306a9fe8a612f1ebd1f058474d20af (diff) | |
download | git-9dc09c766463333ca51311a2db86fd67f4fec19b.tar.gz git-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