]> Lady’s Gitweb - Gitweb/commitdiff
gitweb: fix 'Use of uninitialized value' error in href()
authorGiuseppe Bilotta <redacted>
Fri, 31 Jul 2009 06:48:49 +0000 (08:48 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:50:39 +0000 (00:50 -0400)
Equality between file_parent and file_name was being checked without a
preliminary check for existence of the parameters.

Fix by wrapping the equality check in appropriate if (defined ...),
rearranging the lines to prevent excessive length.

Signed-off-by: Giuseppe Bilotta <redacted>
Acked-by: Jakub Narebski <redacted>
Signed-off-by: Junio C Hamano <redacted>

No differences found
This page took 0.139838 seconds and 4 git commands to generate.