author | Jakub Narebski <jnareb@gmail.com> | |
Sat, 28 Jul 2007 14:27:32 +0000 (16:27 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 29 Jul 2007 01:47:51 +0000 (18:47 -0700) | ||
commit | 12075103ddc9a061cf6f3b04feb206123bb78e2f | |
tree | 07f7601275c9a0110c3f9c27a0627cfb6782b021 | tree | snapshot |
parent | 01ac1e38dbb1ae3ad3c4bbea60a9c0855606ae11 | commit | diff |
gitweb: Simplify 'opt' parameter validation, add "no merges" feeds
Simplify and make more readable validation of 'opt' (extra options)
parameter, using exists($hash{key}) instead of grepping keys of a hash
for value.
Move 'opt' parameter to be the last (for now) in the URL.
Make use of '--no-merges' extra option ('opt') by adding "no merges"
RSS and Atom feeds to the HTML header. Note that alternate format
links in the RSS and Atom views do not use '--no-merges' option yet!
Adds tests for the 'opt' parameter to t9500-gitweb-standalone-no-errors.sh
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Simplify and make more readable validation of 'opt' (extra options)
parameter, using exists($hash{key}) instead of grepping keys of a hash
for value.
Move 'opt' parameter to be the last (for now) in the URL.
Make use of '--no-merges' extra option ('opt') by adding "no merges"
RSS and Atom feeds to the HTML header. Note that alternate format
links in the RSS and Atom views do not use '--no-merges' option yet!
Adds tests for the 'opt' parameter to t9500-gitweb-standalone-no-errors.sh
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl | diff | blob | history | |
t/t9500-gitweb-standalone-no-errors.sh | diff | blob | history |