From: Shawn O. Pearce Date: Mon, 12 Mar 2007 18:37:55 +0000 (-0400) Subject: Teach run-command to redirect stdout to /dev/null X-Git-Tag: v1.5.1-rc1~8^2~7 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/e4507ae84ed04c835b66f77195a0549b72f99c39?hp=e4507ae84ed04c835b66f77195a0549b72f99c39 Teach run-command to redirect stdout to /dev/null Some run-command callers may wish to just discard any data that is sent to stdout from the child. This is a lot like our existing no_stdin support, we just open /dev/null and duplicate the descriptor into position. Signed-off-by: Shawn O. Pearce Signed-off-by: Junio C Hamano ---