]> Lady’s Gitweb - Gitweb/commit
gitweb: correctly store previous rev in javascript-actions mode
authorRobert Luberda <redacted>
Sun, 27 Oct 2019 09:14:26 +0000 (10:14 +0100)
committerLady <redacted>
Mon, 6 Apr 2026 04:51:33 +0000 (00:51 -0400)
commit2edb3889e492e025733b938e574bd032cc7a04fa87fa0e5c0d8309f336be9608
tree4118fa3a754961ee6dc5fd98869786c51dabfd45f85d7b4828811353b9f15877
parent770213e5c94c82dd69cfa50652abefee9ec04318e7de0effc0696b22eb62117c
gitweb: correctly store previous rev in javascript-actions mode

Without this change, the setting

 $feature{'javascript-actions'}{'default'} = [1];

in gitweb.conf breaks gitweb's blame page: clicking on line numbers
displayed in the second column on the page has no effect.

For comparison, with javascript-actions disabled, clicking on line
numbers loads the previous version of the line.

Addresses https://bugs.debian.org/741883.

Signed-off-by: Jonathan Nieder <redacted>
Signed-off-by: Robert Luberda <redacted>
Acked-by: Jakub Narębski <redacted>
Signed-off-by: Junio C Hamano <redacted>
static/js/blame_incremental.js
This page took 0.103091 seconds and 4 git commands to generate.