Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
blame: fix segfault on untracked files
[gitweb.git]
/
test-match-trees.c
diff --git
a/test-match-trees.c
b/test-match-trees.c
index 109f03e711803251b5b5d06bc42579784a326ba8..4dad7095f10bb324f043ff8132678488b65d4537 100644
(file)
--- a/
test-match-trees.c
+++ b/
test-match-trees.c
@@
-6,6
+6,8
@@
int main(int ac, char **av)
unsigned char hash1[20], hash2[20], shifted[20];
struct tree *one, *two;
+ setup_git_directory();
+
if (get_sha1(av[1], hash1))
die("cannot parse %s as an object name", av[1]);
if (get_sha1(av[2], hash2))