diff options
Diffstat (limited to 'merge-index.c')
-rw-r--r-- | merge-index.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/merge-index.c b/merge-index.c index 7827e87a92..c00a2b385a 100644 --- a/merge-index.c +++ b/merge-index.c @@ -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(); |