diff --git a/exec_cmd.c b/exec_cmd.c
index f2133ec93facc7072c69ebe15d2c911842ff60c8..e30936d72cd48822b43ec7568d5fcafc76a7659e 100644 (file)
--- a/exec_cmd.c
+++ b/exec_cmd.c
extern char **environ;
static const char *builtin_exec_path = GIT_EXEC_PATH;
-static const char *current_exec_path = NULL;
+static const char *current_exec_path;
void git_set_exec_path(const char *exec_path)
{
argv[0] = git_command;
if (getenv("GIT_TRACE")) {
- fputs("trace: exec:", stderr);
const char **p = argv;
+ fputs("trace: exec:", stderr);
while (*p) {
fputc(' ', stderr);
sq_quote_print(stderr, *p);