summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--builtin-init-db.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/builtin-init-db.c b/builtin-init-db.c
index 0eb9efc939..a54f489782 100644
--- 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);