summaryrefslogtreecommitdiff
path: root/gitweb/static/js/blame_incremental.js
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2019-10-30 15:13:13 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-10-30 15:13:13 +0900
commit0d6799e563de1814edd4f659e4aea94b1dfba55b (patch)
treea9d50792d0f0356f828d49d5191b8c492488dde7 /gitweb/static/js/blame_incremental.js
parentMerge branch 'js/mingw-needs-hiding-fix' (diff)
parentgitweb: correctly store previous rev in javascript-actions mode (diff)
downloadtgif-0d6799e563de1814edd4f659e4aea94b1dfba55b.tar.xz
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
Diffstat (limited to 'gitweb/static/js/blame_incremental.js')
-rw-r--r--gitweb/static/js/blame_incremental.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitweb/static/js/blame_incremental.js b/gitweb/static/js/blame_incremental.js
index db6eb50584..e100d8206b 100644
--- a/gitweb/static/js/blame_incremental.js
+++ b/gitweb/static/js/blame_incremental.js
@@ -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]);