gitweb: correctly store previous rev in javascript-actions mode
authorRobert Luberda <redacted>
Sun, 27 Oct 2019 09:14:26 +0000 (10:14 +0100)
committerJunio C Hamano <redacted>
Mon, 28 Oct 2019 02:06:57 +0000 (11:06 +0900)
commit52bd3e46574baecf06562d4da857ba445981beb9
tree3c61638bec9354e9a5877eb1ce3f2cbbd70624af
parent5fa0f5238b0cd46cfe7f6fa76c3f526ea98148d9
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>
gitweb/static/js/blame_incremental.js
git clone https://git.99rst.org/PROJECT