author | Jakub Narebski <jnareb@gmail.com> | |
Thu, 28 Jul 2011 21:38:03 +0000 (23:38 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 1 Aug 2011 01:39:19 +0000 (18:39 -0700) | ||
commit | 14569cd810ad35a66ca7867505e0b2dd202ab95f | |
tree | 08c18f0b946c03ea76e5487852f6c52b787c0ea1 | tree | snapshot |
parent | 2579e1d2936ad4e385ef21e5c346d9853d7faa01 | commit | diff |
gitweb: Git config keys are case insensitive, make config search too
"git config -z -l" that gitweb uses in git_parse_project_config() to
populate %config hash returns section and key names of config
variables in lowercase (they are case insensitive). When checking
%config in git_get_project_config() we have to take it into account.
Helped-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
"git config -z -l" that gitweb uses in git_parse_project_config() to
populate %config hash returns section and key names of config
variables in lowercase (they are case insensitive). When checking
%config in git_get_project_config() we have to take it into account.
Helped-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl | diff | blob | history |