author | Petr Baudis <pasky@suse.cz> | |
Fri, 6 Nov 2009 15:08:41 +0000 (16:08 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 6 Nov 2009 17:56:34 +0000 (09:56 -0800) | ||
commit | b9759f0762c17a5b7bc36af98613c67249931330 | |
tree | 591ceffce70a56e2ca1fe1b2718764a86d4fbc17 | tree | snapshot |
parent | 78d553b7d7b269bb22ebd8b1198657c37484a3a0 | commit | diff |
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 <pasky@suse.cz>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 <pasky@suse.cz>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl | diff | blob | history |