X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=shell.c;h=abb862246ef01743424e4a447ee169f3fdbb9f51;hb=6ea938542610f4c7b978a2d8bac00fade72ce9f1;hp=dea4cfdd2c230af6afd6233cacfa5c776a9962f9;hpb=ed36a48e6d246f4f60d44b27e8c1e660151cd0b4;p=git.git diff --git a/shell.c b/shell.c index dea4cfdd2..abb862246 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