Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-08-31 03:59:37 +0400
committerJunio C Hamano <junkio@cox.net>2005-08-31 06:19:02 +0400
commit076b2324cdca9a2825c569cf9ec02d219c237e26 (patch)
tree6de74c926594fbccf3b1faeacfcbd95e021b70ec /show-branch.c
parentd3968363b43b3d6badd662869e13fa3aa34c5b41 (diff)
show-branch: make it work in a subdirectory.
Signed-off-by: Junio C Hamano <junkio@cox.net>
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 958a5e884a..8b37aebb01 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"))