Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
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
raw
|
patch
| inline |
side by side
(parent:
d396836
)
diff --git
a/show-branch.c
b/show-branch.c
index 958a5e884afdf8bc21d672242d6bbee8d3c7340a..8b37aebb019ef91d773f12e2bf4c25eafcd9d355 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"))