projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d396836
)
show-branch: make it work in a subdirectory.
author
Junio C Hamano
<junkio@cox.net>
Tue, 30 Aug 2005 23:59:37 +0000
(16:59 -0700)
committer
Junio C Hamano
<junkio@cox.net>
Wed, 31 Aug 2005 02:19:02 +0000
(19:19 -0700)
Signed-off-by: Junio C Hamano <junkio@cox.net>
show-branch.c
patch
|
blob
|
history
diff --git
a/show-branch.c
b/show-branch.c
index
958a5e8
..
8b37aeb
100644
(file)
--- 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"))