mirror of
https://github.com/git/git
synced 2024-08-24 18:26:02 +00:00
Merge branch 'rl/gitweb-blame-prev-fix'
Fix a rather old bug in gitweb---incremental blame output in javascript actions mode never worked. * rl/gitweb-blame-prev-fix: gitweb: correctly store previous rev in javascript-actions mode
This commit is contained in:
commit
0d6799e563
|
@ -484,7 +484,7 @@ function processBlameLines(lines) {
|
|||
case 'previous':
|
||||
curCommit.nprevious++;
|
||||
// store only first 'previous' header
|
||||
if (!'previous' in curCommit) {
|
||||
if (!('previous' in curCommit)) {
|
||||
var parts = data.split(' ', 2);
|
||||
curCommit.previous = parts[0];
|
||||
curCommit.file_parent = unquote(parts[1]);
|
||||
|
|
Loading…
Reference in a new issue