diff --git a/show-branch.c b/show-branch.c
index ffe7456a6a8b44276a8779cabf16e4613b268ec0..511fd3b656ec0f66492994c21bb024a52f482a78 100644 (file)
--- a/show-branch.c
+++ b/show-branch.c
int with_current_branch = 0;
int head_at = -1;
- git_config(git_show_branch_config);
setup_git_directory();
+ git_config(git_show_branch_config);
/* If nothing is specified, try the default first */
if (ac == 1 && default_num) {