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
9804459
..
59da56d
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;