summaryrefslogtreecommitdiff
path: root/show-branch.c
diff options
context:
space:
mode:
Diffstat (limited to 'show-branch.c')
-rw-r--r--show-branch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/show-branch.c b/show-branch.c
index 958a5e8..8b37aeb 100644
--- a/show-branch.c
+++ b/show-branch.c
@@ -317,6 +317,8 @@ int main(int ac, char **av)
int merge_base = 0;
char **label;
+ setup_git_directory();
+
while (1 < ac && av[1][0] == '-') {
char *arg = av[1];
if (!strcmp(arg, "--all"))