Skip to content

Commit 0d6799e

Browse files
committed
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
2 parents f2db52c + 52bd3e4 commit 0d6799e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitweb/static/js/blame_incremental.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ function processBlameLines(lines) {
484484
case 'previous':
485485
curCommit.nprevious++;
486486
// store only first 'previous' header
487-
if (!'previous' in curCommit) {
487+
if (!('previous' in curCommit)) {
488488
var parts = data.split(' ', 2);
489489
curCommit.previous = parts[0];
490490
curCommit.file_parent = unquote(parts[1]);

0 commit comments

Comments
 (0)