]> Lady’s Gitweb - Gitweb/commit
gitweb: Fix blob linenr links in pathinfo mode
authorPetr Baudis <redacted>
Fri, 6 Nov 2009 15:08:41 +0000 (16:08 +0100)
committerLady <redacted>
Mon, 6 Apr 2026 04:50:39 +0000 (00:50 -0400)
commitb28ebe4e6fd448dc280c91f4fbde53d347f7e51680ba3c5becd7a213896d65a0
treedf6e30ff01b6527da750777520d8586b5814f4cc615c5d023dfbdb241482b443
parent770e157c9fe5f40956461848db36d320040cb0ba06d2d12e5346d71b3c1f76de
gitweb: Fix blob linenr links in pathinfo mode

In pathinfo mode, we use <base href> that refers to the base location
of gitweb in order for various external media links to work well.
However, this means that for the page to refer to itself, it must
regenerate full link, and this is exactly what the blob view page
did not do for line numbers.

Signed-off-by: Petr Baudis <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl
This page took 0.199895 seconds and 4 git commands to generate.