Merge branch 'ks/maint-mailinfo-folded'
[gitweb.git] / merge-index.c
index 7827e87a928586226570132fc8922991b1cb6c8a..c00a2b385a3373f88b9fd3f087d9681cdc46cbf6 100644 (file)
@@ -1,5 +1,6 @@
 #include "cache.h"
 #include "run-command.h"
+#include "exec_cmd.h"
 
 static const char *pgm;
 static const char *arguments[9];
@@ -93,6 +94,8 @@ int main(int argc, char **argv)
        if (argc < 3)
                usage("git-merge-index [-o] [-q] <merge-program> (-a | [--] <filename>*)");
 
+       git_extract_argv0_path(argv[0]);
+
        setup_git_directory();
        read_cache();