init: having keywords without value is not a global error.
commitb02a17f2b7d0d3f5899ffdd9709ded8cea8ae019
authorSteven Drake <sdrake@xnet.co.nz>
Fri, 26 Feb 2010 04:00:20 +0000 (26 17:00 +1300)
committerJunio C Hamano <gitster@pobox.com>
Fri, 26 Feb 2010 06:47:36 +0000 (25 22:47 -0800)
treee4407f226ca8b20db5343a49d95b317dd96a2ab4
parentd8a8488d569420c4e0a96a8df36b246d888e68d4
init: having keywords without value is not a global error.

We may later add a new configuration variable in "init" section that takes
a boolean value.  Erroring out at the beginning of the config parser makes
life harder for later enhancement.

The existing configuration variable is parsed by git_config_pathname()
that checks and rejects init.templatedir that is unset without this extra
check.  Remove it.

Signed-off-by: Steven Drake <sdrake@xnet.co.nz>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-init-db.c