author | Shawn O. Pearce <spearce@spearce.org> | |
Sun, 11 Nov 2007 07:29:37 +0000 (02:29 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 12 Nov 2007 01:09:55 +0000 (17:09 -0800) | ||
commit | b73a4397590df9582dd1c994cac30e55e26b0b1e | |
tree | 0b9e8f83a0f59e170954ea7d6b9d7e9c068d4941 | tree | snapshot |
parent | a3b0079c6a2e6336b061465623b8f2db308a6978 | commit | diff |
run-command: Support sending stderr to /dev/null
Some callers may wish to redirect stderr to /dev/null in some
contexts, such as if they are executing a command only to get
the exit status and don't want users to see whatever output it
may produce as a side-effect of computing that exit status.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Some callers may wish to redirect stderr to /dev/null in some
contexts, such as if they are executing a command only to get
the exit status and don't want users to see whatever output it
may produce as a side-effect of computing that exit status.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
run-command.c | diff | blob | history | |
run-command.h | diff | blob | history |