diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-10-30 06:13:13 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-10-30 06:13:13 (GMT) |
commit | 0d6799e563de1814edd4f659e4aea94b1dfba55b (patch) | |
tree | a9d50792d0f0356f828d49d5191b8c492488dde7 | |
parent | f2db52c46b79d5b99c57fbe713a9ff211b840b89 (diff) | |
parent | 52bd3e46574baecf06562d4da857ba445981beb9 (diff) | |
download | git-0d6799e563de1814edd4f659e4aea94b1dfba55b.zip git-0d6799e563de1814edd4f659e4aea94b1dfba55b.tar.gz git-0d6799e563de1814edd4f659e4aea94b1dfba55b.tar.bz2 |
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
-rw-r--r-- | gitweb/static/js/blame_incremental.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitweb/static/js/blame_incremental.js b/gitweb/static/js/blame_incremental.js index db6eb50..e100d82 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]); |