]> Lady’s Gitweb - Gitweb/commit
gitweb: Simplify 'opt' parameter validation, add "no merges" feeds
authorJakub Narebski <redacted>
Sat, 28 Jul 2007 14:27:32 +0000 (16:27 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:12 +0000 (00:07 -0400)
commit69896a0d1b94c7151bd49c09da0badc7e95a12e8951109489ebf21250ab3ff03
tree576f7c4f66ac0dbfb75e4f7eeb1730424d87659fc2c4e56b251dd949198d662f
parent557f4ba7c6c5713b0b3eb1ceddbe48d792d2ac92550cc9347f62a799a7631ead
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl
This page took 0.222618 seconds and 4 git commands to generate.