From: Jakub Narebski Date: Fri, 2 Nov 2007 23:41:18 +0000 (+0100) Subject: gitweb: Add tests for overriding gitweb config with repo config X-Git-Tag: v1.5.4-rc0~276^2~2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/e9c34c233f2e838c334f6e8a807ebc6a988e9509 gitweb: Add tests for overriding gitweb config with repo config Make blame view and snapshot support overridable by repository config. Test tree view with both features disabled, and with both features enabled. Test with features enabled also tests multiple formats snapshot support (in tree view). Signed-off-by: Jakub Narebski Signed-off-by: Junio C Hamano --- diff --git a/t/t9500-gitweb-standalone-no-errors.sh b/t/t9500-gitweb-standalone-no-errors.sh index 1bf0988d9a..35fff3ddba 100755 --- a/t/t9500-gitweb-standalone-no-errors.sh +++ b/t/t9500-gitweb-standalone-no-errors.sh @@ -557,4 +557,27 @@ test_expect_success \ 'gitweb_run "p=.git;a=tree;opt=--no-merges"' test_debug 'cat gitweb.log' +# ---------------------------------------------------------------------- +# gitweb config and repo config + +cat >>gitweb_config.perl <