Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jk/config-lockfile-leak-fix' into maint
[gitweb.git]
/
t
/
helper
/
test-read-cache.c
diff --git
a/t/helper/test-read-cache.c
b/t/helper/test-read-cache.c
index 2a7990efc31d042121122a17890c623d7714c128..48255eef31a1e83d9a2bbb01670ba089a11c91f8 100644
(file)
--- a/
t/helper/test-read-cache.c
+++ b/
t/helper/test-read-cache.c
@@
-5,6
+5,7
@@
int cmd_main(int argc, const char **argv)
int i, cnt = 1;
if (argc == 2)
cnt = strtol(argv[1], NULL, 0);
+ setup_git_directory();
for (i = 0; i < cnt; i++) {
read_cache();
discard_cache();