From: Jakub Narebski Date: Fri, 02 Nov 2007 23:41:18 GMT Subject: [PATCH 1/3] gitweb: Add tests for overriding gitweb config with repo config Message-ID: <1194046880-29941-2-git-send-email-jnareb@gmail.com> In-Reply-To: <1194046880-29941-1-git-send-email-jnareb@gmail.com> 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 --- If I remember correctly it was when creating this test that there were probles with CGI::Carp::set_programname() in t9500 test. And it took me some time to discover where the bug was. t/t9500-gitweb-standalone-no-errors.sh | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/t/t9500-gitweb-standalone-no-errors.sh b/t/t9500-gitweb-standalone-no-errors.sh index 1bf0988..35fff3d 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 <