author | Steven Drake <sdrake@xnet.co.nz> | |
Fri, 26 Feb 2010 04:00:20 +0000 (17:00 +1300) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 26 Feb 2010 06:47:36 +0000 (22:47 -0800) | ||
commit | b02a17f2b7d0d3f5899ffdd9709ded8cea8ae019 | |
tree | e4407f226ca8b20db5343a49d95b317dd96a2ab4 | tree | snapshot |
parent | d8a8488d569420c4e0a96a8df36b246d888e68d4 | commit | diff |
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>
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 | diff | blob | history |