projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae2b0f1
)
git-var: make it work in subdirectory.
author
Junio C Hamano
<junkio@cox.net>
Thu, 24 Nov 2005 09:31:01 +0000
(
01:31
-0800)
committer
Junio C Hamano
<junkio@cox.net>
Fri, 25 Nov 2005 23:16:35 +0000
(15:16 -0800)
Use setup_git_directory() so that it can find its .git
directory.
Signed-off-by: Junio C Hamano <junkio@cox.net>
var.c
patch
|
blob
|
history
diff --git
a/var.c
b/var.c
index 98044594c33245e37e2baca603944db68f3b381f..59da56da0f2f1dc9593ef16433fe5bb2db38e280 100644
(file)
--- a/
var.c
+++ b/
var.c
@@
-57,6
+57,8
@@
int main(int argc, char **argv)
if (argc != 2) {
usage(var_usage);
}
+
+ setup_git_directory();
setup_ident();
val = NULL;