author | Jakub Narebski <jnareb@gmail.com> | |
Wed, 25 May 2011 16:35:26 +0000 (18:35 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 25 May 2011 19:36:43 +0000 (12:36 -0700) | ||
commit | f612a71cc901e34f5cf154e6605b7251744f6b95 | |
tree | 8e972a21389300a981dd3d4b4b472d5e2cade34e | tree | snapshot |
parent | 600a6a68c0c744fdb801f863291e4d60696dfeb7 | commit | diff |
gitweb: Refactor reading and parsing config file into read_config_file
Beside being obvious reduction of duplicated code, this is enables us
to easily call site-wide config file in per-installation config file.
The actual update to documentation is left for next commit, because of
possible exclusive alternative (possible other next commit) of always
reading system-wide config file and relying on per-instalation config
file overriding system-wide defaults.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Acked-by: John 'Warthog9' Hawley <warthog9@kernel.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Beside being obvious reduction of duplicated code, this is enables us
to easily call site-wide config file in per-installation config file.
The actual update to documentation is left for next commit, because of
possible exclusive alternative (possible other next commit) of always
reading system-wide config file and relying on per-instalation config
file overriding system-wide defaults.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Acked-by: John 'Warthog9' Hawley <warthog9@kernel.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl | diff | blob | history |