Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
fsck: do not fallback "git fsck <bogus>" to "git fsck"
[gitweb.git]
/
t
/
helper
/
test-config.c
diff --git
a/t/helper/test-config.c
b/t/helper/test-config.c
index 509aeef400e6495ce7ca428d7df5cd63f3aa1247..83a4f2ab86999876ecfb78c7e6dd108eb09b04ae 100644
(file)
--- a/
t/helper/test-config.c
+++ b/
t/helper/test-config.c
@@
-66,12
+66,15
@@
static int iterate_cb(const char *var, const char *value, void *data)
return 0;
}
-int
main(int argc,
char **argv)
+int
cmd_main(int argc, const
char **argv)
{
int i, val;
const char *v;
const struct string_list *strptr;
struct config_set cs;
+
+ setup_git_directory();
+
git_configset_init(&cs);
if (argc < 2) {