diff options
author | Ramsay Jones <ramsay@ramsay1.demon.co.uk> | 2012-06-12 19:09:38 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-06-12 13:23:17 -0700 |
commit | 2a8a4490c20e3f39dc15721b49715867511163ba (patch) | |
tree | 58b30199db66de27b84c2336e1611c70e181f45d /builtin/gc.c | |
parent | Merge branch 'wk/gitweb-snapshot-use-if-modified-since' (diff) | |
download | tgif-2a8a4490c20e3f39dc15721b49715867511163ba.tar.xz |
gitweb: Skip 'modification times' tests when no date parser available
The If-Modified-Since support in Gitweb is conditional on the
availability of a date parser from either the HTTP::Date or
Time::ParseDate modules. If a suitable parser is not available,
then the corresponding 'modification times' tests should be skipped.
Introduce the DATE_PARSER test prerequisite and use it to skip
all of the dependent tests.
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/gc.c')
0 files changed, 0 insertions, 0 deletions