зеркало из https://github.com/microsoft/git.git
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:
Коммит
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]);
|
||||
|
|
Загрузка…
Ссылка в новой задаче