diff options
Diffstat (limited to 'merge-base.c')
-rw-r--r-- | merge-base.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/merge-base.c b/merge-base.c index 751c3c281b..e73fca7453 100644 --- a/merge-base.c +++ b/merge-base.c @@ -236,6 +236,8 @@ int main(int argc, char **argv) struct commit *rev1, *rev2; unsigned char rev1key[20], rev2key[20]; + setup_git_directory(); + while (1 < argc && argv[1][0] == '-') { char *arg = argv[1]; if (!strcmp(arg, "-a") || !strcmp(arg, "--all")) |