Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t/t0001-init.sh: add test for 'init with init.templatedir set'
[gitweb.git]
/
builtin-init-db.c
diff --git
a/builtin-init-db.c
b/builtin-init-db.c
index 0eb9efc9396bb5edb9f306700372b83ac2105140..a54f4897829ca7f1a24dfd667afb192d220ee9f6 100644
(file)
--- a/
builtin-init-db.c
+++ b/
builtin-init-db.c
@@
-170,8
+170,6
@@
static void copy_templates(const char *template_dir)
static int git_init_db_config(const char *k, const char *v, void *cb)
{
- if (!v)
- return config_error_nonbool(k);
if (!strcmp(k, "init.templatedir"))
return git_config_pathname(&init_db_template_dir, k, v);