aboutsummaryrefslogtreecommitdiff
path: root/shell.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-05-05 14:43:45 -0700
committerJunio C Hamano <gitster@pobox.com>2011-05-05 14:43:45 -0700
commitbe0dca39e960d67511ca5a75887b903ccae7ccce (patch)
tree3508b7a17ec58dd8b3ad716e07437e535e9d8386 /shell.c
parent505a138cbd5c45d890d180383c8bd808ee8105aa (diff)
parent8fe6177ac640ca36814ad3394d4e86b4ce8e29e3 (diff)
downloadgit-be0dca39e960d67511ca5a75887b903ccae7ccce.tar.xz
Merge branch 'maint'
* maint: t3701: fix here document git-fast-import.txt: --relative-marks takes no parameter shell: add missing initialization of argv0_path
Diffstat (limited to 'shell.c')
-rw-r--r--shell.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell.c b/shell.c
index dea4cfdd2c..abb862246e 100644
--- a/shell.c
+++ b/shell.c
@@ -137,6 +137,8 @@ int main(int argc, char **argv)
int devnull_fd;
int count;
+ git_extract_argv0_path(argv[0]);
+
/*
* Always open file descriptors 0/1/2 to avoid clobbering files
* in die(). It also avoids not messing up when the pipes are