aboutsummaryrefslogtreecommitdiff
path: root/run-command.c
diff options
context:
space:
mode:
authorKyle J. McKay <mackyle@gmail.com>2015-03-07 21:07:59 -0800
committerJunio C Hamano <gitster@pobox.com>2015-03-10 15:11:24 -0700
commit1b56cdf901f6e6a73d0edadf56afb1c878c7622a (patch)
tree14488a9878fcab13c3f779f2ea02fa206e94f9da /run-command.c
parentff7a9dc2c503360190650d604dbdbc293d99b765 (diff)
downloadgit-1b56cdf901f6e6a73d0edadf56afb1c878c7622a.tar.gz
git-1b56cdf901f6e6a73d0edadf56afb1c878c7622a.tar.xz
git-compat-util.h: move SHELL_PATH default into header
If SHELL_PATH is not defined we use "/bin/sh". However, run-command.c is not the only file that needs to use the default value so move it into a common header. Signed-off-by: Kyle J. McKay <mackyle@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'run-command.c')
-rw-r--r--run-command.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/run-command.c b/run-command.c
index 0b432cc97..3afb124c7 100644
--- a/run-command.c
+++ b/run-command.c
@@ -4,10 +4,6 @@
#include "sigchain.h"
#include "argv-array.h"
-#ifndef SHELL_PATH
-# define SHELL_PATH "/bin/sh"
-#endif
-
void child_process_init(struct child_process *child)
{
memset(child, 0, sizeof(*child));