vscode-gitlens
vscode-gitlens copied to clipboard
Blame is not working
- GitLens Version: 10.2.3
- VSCode Version: 1.51.0
- OS Version: Ubuntu 20.04.1
Steps to Reproduce: For some reason it stopped working only for this one particular repo. Need advice what is wrong. Thanks
Logs
``` [2020-11-07 23:24:31:177] [1] GitService.initialize [2020-11-07 23:24:31:177] [2] GitService.getBuiltInGitApi [2020-11-07 23:24:31:436] [2] GitService.getBuiltInGitApi completed • 258 ms [2020-11-07 23:24:32:879] Git found: 2.29.2 @ /usr/bin/git • 1442 ms [2020-11-07 23:24:32:879] [1] GitService.initialize completed • 1701 ms [2020-11-07 23:24:32:879] Starting repository search in 1 folders [2020-11-07 23:24:32:880] [3] GitService.repositorySearch(/home/alek/PurePhone/PurePhone) searching (depth=1)... [2020-11-07 23:24:32:880] [4] GitService.getRepoPathCore — e=/home/alek/PurePhone/PurePhone, t=true [2020-11-07 23:24:32:889] [5] GitUri.fromUri — e=Uri(file:///home/alek/PurePhone/PurePhone/changelog.md) [2020-11-07 23:24:32:890] [6] GitService.getRepoPath — e=Uri(file:///home/alek/PurePhone/PurePhone/changelog.md) [2020-11-07 23:24:32:890] [7] GitService.getRepository — e=Uri(file:///home/alek/PurePhone/PurePhone/changelog.md), t={"skipCacheUpdate":true} [2020-11-07 23:24:32:891] [8] LineAnnotationController.resume [2020-11-07 23:24:32:891] [9] GitLineTracker.start [2020-11-07 23:24:32:892] [9] GitLineTracker.start completed • 0 ms [2020-11-07 23:24:32:892] [8] LineAnnotationController.resume completed • 0 ms [2020-11-07 23:24:32:892] [a] LineAnnotationController.refresh [2020-11-07 23:24:32:892] [b] LineAnnotationController.clear completed • 0 ms [2020-11-07 23:24:32:892] [c] GitLineTracker.start [2020-11-07 23:24:32:892] [c] GitLineTracker.start completed • 0 ms [2020-11-07 23:24:32:893] [d] GitLineTracker.start [2020-11-07 23:24:32:893] [d] GitLineTracker.start completed • 0 ms [2020-11-07 23:24:32:902] GitLens (v10.2.3) activated • 1771 ms [2020-11-07 23:24:32:902] [a] LineAnnotationController.refresh completed • Skipped because there is no valid editor or no valid lines • 10 ms [2020-11-07 23:24:33:209] [e] LineAnnotationController.onActiveLinesChanged — e=editor=file:///home/alek/PurePhone/PurePhone/changelog.md, lines=undefined, pending=true, reason=editor [2020-11-07 23:24:33:209] [f] LineAnnotationController.clear completed • 0 ms [2020-11-07 23:24:33:209] [e] LineAnnotationController.onActiveLinesChanged completed • 0 ms [2020-11-07 23:24:33:209] [10] LineHoverController.onActiveLinesChanged — e=editor=file:///home/alek/PurePhone/PurePhone/changelog.md, lines=undefined, pending=true, reason=editor [2020-11-07 23:24:33:209] [10] LineHoverController.onActiveLinesChanged completed • 0 ms [2020-11-07 23:24:33:209] [11] StatusBarController.onActiveLinesChanged — e=editor=file:///home/alek/PurePhone/PurePhone/changelog.md, lines=undefined, pending=true, reason=editor [2020-11-07 23:24:33:209] [11] StatusBarController.onActiveLinesChanged completed • 0 ms [2020-11-07 23:24:33:238] [/home/alek/PurePhone/PurePhone] git rev-parse --show-toplevel • 358 ms [2020-11-07 23:24:33:393] [4] GitService.getRepoPathCore No symlink detected; repoPath=/home/alek/PurePhone/PurePhone [2020-11-07 23:24:33:393] [4] GitService.getRepoPathCore completed • 512 ms [2020-11-07 23:24:33:393] [3] GitService.repositorySearch(/home/alek/PurePhone/PurePhone) found root repository in '/home/alek/PurePhone/PurePhone' [2020-11-07 23:24:33:394] [12] GitService.repositorySearchCore — e=/home/alek/PurePhone/PurePhone, t=1 [2020-11-07 23:24:33:604] [13] GitService.repositorySearchCore — e=/home/alek/PurePhone/PurePhone/.github, t=0 [2020-11-07 23:24:34:008] [13] GitService.repositorySearchCore completed • 404 ms [2020-11-07 23:24:34:008] [14] GitService.repositorySearchCore — e=/home/alek/PurePhone/PurePhone/.idea, t=0 [2020-11-07 23:24:34:106] [14] GitService.repositorySearchCore completed • 97 ms [2020-11-07 23:24:34:106] [15] GitService.repositorySearchCore — e=/home/alek/PurePhone/PurePhone/.vscode, t=0 [2020-11-07 23:24:34:205] [15] GitService.repositorySearchCore completed • 98 ms [2020-11-07 23:24:34:205] [16] GitService.repositorySearchCore — e=/home/alek/PurePhone/PurePhone/art, t=0 [2020-11-07 23:24:34:267] [16] GitService.repositorySearchCore completed • 61 ms [2020-11-07 23:24:34:267] [17] GitService.repositorySearchCore — e=/home/alek/PurePhone/PurePhone/board, t=0 [2020-11-07 23:24:34:667] [17] GitService.repositorySearchCore completed • 400 ms [2020-11-07 23:24:34:667] [18] GitService.repositorySearchCore — e=/home/alek/PurePhone/PurePhone/build-linux-Debug, t=0 [2020-11-07 23:24:34:678] [18] GitService.repositorySearchCore completed • 10 ms [2020-11-07 23:24:34:678] [19] GitService.repositorySearchCore — e=/home/alek/PurePhone/PurePhone/build-rt1051-Debug, t=0 [2020-11-07 23:24:34:711] [19] GitService.repositorySearchCore completed • 32 ms [2020-11-07 23:24:34:711] [1a] GitService.repositorySearchCore — e=/home/alek/PurePhone/PurePhone/build-rt1051-RelWithDebInfo, t=0 [2020-11-07 23:24:34:789] [1a] GitService.repositorySearchCore completed • 78 ms [2020-11-07 23:24:34:789] [1b] GitService.repositorySearchCore — e=/home/alek/PurePhone/PurePhone/build-rt1051-Release, t=0 [2020-11-07 23:24:34:834] [1b] GitService.repositorySearchCore completed • 44 ms [2020-11-07 23:24:34:834] [1c] GitService.repositorySearchCore — e=/home/alek/PurePhone/PurePhone/config, t=0 [2020-11-07 23:24:34:997] [1c] GitService.repositorySearchCore completed • 162 ms [2020-11-07 23:24:34:997] [1d] GitService.repositorySearchCore — e=/home/alek/PurePhone/PurePhone/doc, t=0 [2020-11-07 23:24:35:009] [1d] GitService.repositorySearchCore completed • 11 ms [2020-11-07 23:24:35:009] [1e] GitService.repositorySearchCore — e=/home/alek/PurePhone/PurePhone/docker, t=0 [2020-11-07 23:24:35:022] [1e] GitService.repositorySearchCore completed • 12 ms [2020-11-07 23:24:35:022] [1f] GitService.repositorySearchCore — e=/home/alek/PurePhone/PurePhone/image, t=0 [2020-11-07 23:24:35:036] [1f] GitService.repositorySearchCore completed • 14 ms [2020-11-07 23:24:35:036] [20] GitService.repositorySearchCore — e=/home/alek/PurePhone/PurePhone/lib, t=0 [2020-11-07 23:24:35:049] [20] GitService.repositorySearchCore completed • 12 ms [2020-11-07 23:24:35:049] [21] GitService.repositorySearchCore — e=/home/alek/PurePhone/PurePhone/module-apps, t=0 [2020-11-07 23:24:35:052] [21] GitService.repositorySearchCore completed • 2 ms [2020-11-07 23:24:35:052] [22] GitService.repositorySearchCore — e=/home/alek/PurePhone/PurePhone/module-audio, t=0 [2020-11-07 23:24:35:060] [22] GitService.repositorySearchCore completed • 8 ms [2020-11-07 23:24:35:060] [23] GitService.repositorySearchCore — e=/home/alek/PurePhone/PurePhone/module-bluetooth, t=0 [2020-11-07 23:24:35:076] [23] GitService.repositorySearchCore completed • 15 ms [2020-11-07 23:24:35:076] [24] GitService.repositorySearchCore — e=/home/alek/PurePhone/PurePhone/module-bsp, t=0 [2020-11-07 23:24:35:090] [24] GitService.repositorySearchCore completed • 14 ms [2020-11-07 23:24:35:090] [25] GitService.repositorySearchCore — e=/home/alek/PurePhone/PurePhone/module-cellular, t=0 [2020-11-07 23:24:35:106] [25] GitService.repositorySearchCore completed • 15 ms [2020-11-07 23:24:35:106] [26] GitService.repositorySearchCore — e=/home/alek/PurePhone/PurePhone/module-db, t=0 [2020-11-07 23:24:35:128] [26] GitService.repositorySearchCore completed • 22 ms [2020-11-07 23:24:35:128] [27] GitService.repositorySearchCore — e=/home/alek/PurePhone/PurePhone/module-gui, t=0 [2020-11-07 23:24:35:145] [27] GitService.repositorySearchCore completed • 16 ms [2020-11-07 23:24:35:146] [28] GitService.repositorySearchCore — e=/home/alek/PurePhone/PurePhone/module-lwip, t=0 [2020-11-07 23:24:35:148] [28] GitService.repositorySearchCore completed • 2 ms [2020-11-07 23:24:35:148] [29] GitService.repositorySearchCore — e=/home/alek/PurePhone/PurePhone/module-os, t=0 [2020-11-07 23:24:35:158] [29] GitService.repositorySearchCore completed • 9 ms [2020-11-07 23:24:35:158] [2a] GitService.repositorySearchCore — e=/home/alek/PurePhone/PurePhone/module-services, t=0 [2020-11-07 23:24:35:158] [2a] GitService.repositorySearchCore completed • 0 ms [2020-11-07 23:24:35:158] [2b] GitService.repositorySearchCore — e=/home/alek/PurePhone/PurePhone/module-sys, t=0 [2020-11-07 23:24:35:158] [2b] GitService.repositorySearchCore completed • 0 ms [2020-11-07 23:24:35:158] [2c] GitService.repositorySearchCore — e=/home/alek/PurePhone/PurePhone/module-utils, t=0 [2020-11-07 23:24:35:167] [2c] GitService.repositorySearchCore completed • 8 ms [2020-11-07 23:24:35:167] [2d] GitService.repositorySearchCore — e=/home/alek/PurePhone/PurePhone/module-vfs, t=0 [2020-11-07 23:24:35:181] [2d] GitService.repositorySearchCore completed • 14 ms [2020-11-07 23:24:35:181] [2e] GitService.repositorySearchCore — e=/home/alek/PurePhone/PurePhone/source, t=0 [2020-11-07 23:24:35:190] [2e] GitService.repositorySearchCore completed • 9 ms [2020-11-07 23:24:35:190] [2f] GitService.repositorySearchCore — e=/home/alek/PurePhone/PurePhone/test, t=0 [2020-11-07 23:24:35:208] [2f] GitService.repositorySearchCore completed • 17 ms [2020-11-07 23:24:35:208] [30] GitService.repositorySearchCore — e=/home/alek/PurePhone/PurePhone/tools, t=0 [2020-11-07 23:24:35:533] [30] GitService.repositorySearchCore completed • 325 ms [2020-11-07 23:24:35:533] [12] GitService.repositorySearchCore completed • 2138 ms [2020-11-07 23:24:35:533] [3] GitService.repositorySearch(/home/alek/PurePhone/PurePhone) returned 1 repositories (/home/alek/PurePhone/PurePhone) • 2653 ms [2020-11-07 23:24:35:753] [/home/alek/PurePhone/PurePhone] git remote -v • 53 ms [2020-11-07 23:24:35:754] [31] GitRemoteParser.parse completed • 0 ms [2020-11-07 23:24:36:135] [/home/alek/PurePhone/PurePhone] git ls-files -- changelog.md • 25 ms [2020-11-07 23:24:36:136] [32] GitService.isTracked returned true • 25 ms — e=/home/alek/PurePhone/PurePhone/changelog.md, t=/home/alek/PurePhone/PurePhone, i={"skipCacheUpdate":true} [2020-11-07 23:24:36:136] [7] GitService.getRepository returned /home/alek/PurePhone/PurePhone • 3245 ms [2020-11-07 23:24:36:136] [6] GitService.getRepoPath returned /home/alek/PurePhone/PurePhone • 3245 ms [2020-11-07 23:24:36:136] [5] GitUri.fromUri returned GitUri(file:///home/alek/PurePhone/PurePhone/changelog.md repoPath=/home/alek/PurePhone/PurePhone) • 3246 ms [2020-11-07 23:24:36:136] [33] GitService.getRepository — e=GitUri(file:///home/alek/PurePhone/PurePhone/changelog.md repoPath=/home/alek/PurePhone/PurePhone) [2020-11-07 23:24:36:136] [33] GitService.getRepository returned /home/alek/PurePhone/PurePhone • 0 ms [2020-11-07 23:24:36:158] [/home/alek/PurePhone/PurePhone] git ls-files -- /home/alek/PurePhone/PurePhone/changelog.md • 21 ms [2020-11-07 23:24:36:158] [34] GitService.isTracked returned true • 21 ms — e=GitUri(file:///home/alek/PurePhone/PurePhone/changelog.md repoPath=/home/alek/PurePhone/PurePhone) [2020-11-07 23:24:36:158] [35] GitService.getBlameForLine — e=GitUri(file:///home/alek/PurePhone/PurePhone/changelog.md repoPath=/home/alek/PurePhone/PurePhone), t=27 [2020-11-07 23:24:36:158] [36] GitService.getBlameForFile — e=GitUri(file:///home/alek/PurePhone/PurePhone/changelog.md repoPath=/home/alek/PurePhone/PurePhone) [2020-11-07 23:24:36:159] [37] GitService.getBlameForFile — e=GitUri(file:///home/alek/PurePhone/PurePhone/changelog.md repoPath=/home/alek/PurePhone/PurePhone) [2020-11-07 23:24:36:159] [36] GitService.getBlameForFile Cache miss: 'blame' [2020-11-07 23:24:36:159] [36] GitService.getBlameForFile Cache add: 'blame' [2020-11-07 23:24:36:159] [37] GitService.getBlameForFile Cache hit: 'blame' [2020-11-07 23:24:36:159] [38] GitService.isTracked returned true • 0 ms — e=GitUri(file:///home/alek/PurePhone/PurePhone/changelog.md repoPath=/home/alek/PurePhone/PurePhone) [2020-11-07 23:24:36:205] [/home/alek/PurePhone/PurePhone] git blame --root --incremental -- changelog.md • 45 ms [2020-11-07 23:24:36:205] [36] GitService.getBlameForFile Cache replace (with empty promise): 'blame' [2020-11-07 23:24:36:206] [39] GitService.isTracked returned true • 0 ms — e=GitUri(file:///home/alek/PurePhone/PurePhone/changelog.md repoPath=/home/alek/PurePhone/PurePhone) [2020-11-07 23:24:36:206] [36] GitService.getBlameForFile completed • 47 ms [2020-11-07 23:24:36:206] [37] GitService.getBlameForFile completed • 46 ms [2020-11-07 23:24:36:206] [3a] GitLineTracker.onBlameStateChanged — e=editor=file:///home/alek/PurePhone/PurePhone/changelog.md, doc=file:///home/alek/PurePhone/PurePhone/changelog.md, blameable=false [2020-11-07 23:24:36:206] [3b] LineAnnotationController.onActiveLinesChanged — e=editor=file:///home/alek/PurePhone/PurePhone/changelog.md, lines=undefined, pending=true, reason=editor [2020-11-07 23:24:36:206] [3c] LineAnnotationController.clear completed • 0 ms [2020-11-07 23:24:36:206] [3b] LineAnnotationController.onActiveLinesChanged completed • 0 ms [2020-11-07 23:24:36:206] [3d] LineHoverController.onActiveLinesChanged — e=editor=file:///home/alek/PurePhone/PurePhone/changelog.md, lines=undefined, pending=true, reason=editor [2020-11-07 23:24:36:206] [3d] LineHoverController.onActiveLinesChanged completed • 0 ms [2020-11-07 23:24:36:206] [3e] StatusBarController.onActiveLinesChanged — e=editor=file:///home/alek/PurePhone/PurePhone/changelog.md, lines=undefined, pending=true, reason=editor [2020-11-07 23:24:36:206] [3e] StatusBarController.onActiveLinesChanged completed • 0 ms [2020-11-07 23:24:36:206] [3a] GitLineTracker.onBlameStateChanged completed • 0 ms [2020-11-07 23:24:36:206] [35] GitService.getBlameForLine completed • 48 ms [2020-11-07 23:24:36:206] [3f] LineAnnotationController.onActiveLinesChanged — e=editor=file:///home/alek/PurePhone/PurePhone/changelog.md, lines=undefined, pending=false, reason=editor [2020-11-07 23:24:36:206] [40] LineAnnotationController.clear completed • 0 ms [2020-11-07 23:24:36:206] [3f] LineAnnotationController.onActiveLinesChanged completed • 0 ms [2020-11-07 23:24:36:206] [41] LineHoverController.onActiveLinesChanged — e=editor=file:///home/alek/PurePhone/PurePhone/changelog.md, lines=undefined, pending=false, reason=editor [2020-11-07 23:24:36:207] [41] LineHoverController.onActiveLinesChanged completed • 0 ms [2020-11-07 23:24:36:207] [42] StatusBarController.onActiveLinesChanged — e=editor=file:///home/alek/PurePhone/PurePhone/changelog.md, lines=undefined, pending=false, reason=editor [2020-11-07 23:24:36:207] [42] StatusBarController.onActiveLinesChanged completed • 0 ms [2020-11-07 23:24:36:463] [43] LineAnnotationController.onActiveLinesChanged — e=editor=file:///home/alek/PurePhone/PurePhone/changelog.md, lines=undefined, pending=false, reason=editor [2020-11-07 23:24:36:463] [44] LineAnnotationController.clear completed • 0 ms [2020-11-07 23:24:36:463] [43] LineAnnotationController.onActiveLinesChanged completed • 0 ms [2020-11-07 23:24:36:463] [45] LineHoverController.onActiveLinesChanged — e=editor=file:///home/alek/PurePhone/PurePhone/changelog.md, lines=undefined, pending=false, reason=editor [2020-11-07 23:24:36:463] [45] LineHoverController.onActiveLinesChanged completed • 0 ms [2020-11-07 23:24:36:463] [46] StatusBarController.onActiveLinesChanged — e=editor=file:///home/alek/PurePhone/PurePhone/changelog.md, lines=undefined, pending=false, reason=editor [2020-11-07 23:24:36:464] [46] StatusBarController.onActiveLinesChanged completed • 0 ms [2020-11-07 23:24:39:229] [47] LineAnnotationController.onActiveLinesChanged — e=editor=file:///home/alek/PurePhone/PurePhone/changelog.md, lines=undefined, pending=true, reason=selection [2020-11-07 23:24:39:229] [48] LineAnnotationController.clear completed • 0 ms [2020-11-07 23:24:39:229] [47] LineAnnotationController.onActiveLinesChanged completed • 0 ms [2020-11-07 23:24:39:229] [49] LineHoverController.onActiveLinesChanged — e=editor=file:///home/alek/PurePhone/PurePhone/changelog.md, lines=undefined, pending=true, reason=selection [2020-11-07 23:24:39:229] [49] LineHoverController.onActiveLinesChanged completed • 0 ms [2020-11-07 23:24:39:229] [4a] StatusBarController.onActiveLinesChanged — e=editor=file:///home/alek/PurePhone/PurePhone/changelog.md, lines=undefined, pending=true, reason=selection [2020-11-07 23:24:39:229] [4a] StatusBarController.onActiveLinesChanged completed • 0 ms [2020-11-07 23:24:39:481] [4b] LineAnnotationController.onActiveLinesChanged — e=editor=file:///home/alek/PurePhone/PurePhone/changelog.md, lines=undefined, pending=false, reason=selection [2020-11-07 23:24:39:481] [4c] LineAnnotationController.clear completed • 0 ms [2020-11-07 23:24:39:481] [4b] LineAnnotationController.onActiveLinesChanged completed • 0 ms [2020-11-07 23:24:39:481] [4d] LineHoverController.onActiveLinesChanged — e=editor=file:///home/alek/PurePhone/PurePhone/changelog.md, lines=undefined, pending=false, reason=selection [2020-11-07 23:24:39:481] [4d] LineHoverController.onActiveLinesChanged completed • 0 ms [2020-11-07 23:24:39:481] [4e] StatusBarController.onActiveLinesChanged — e=editor=file:///home/alek/PurePhone/PurePhone/changelog.md, lines=undefined, pending=false, reason=selection [2020-11-07 23:24:39:481] [4e] StatusBarController.onActiveLinesChanged completed • 0 ms [2020-11-07 23:24:39:972] [4f] LineAnnotationController.onActiveLinesChanged — e=editor=file:///home/alek/PurePhone/PurePhone/changelog.md, lines=undefined, pending=true, reason=selection [2020-11-07 23:24:39:972] [50] LineAnnotationController.clear completed • 0 ms [2020-11-07 23:24:39:972] [4f] LineAnnotationController.onActiveLinesChanged completed • 0 ms [2020-11-07 23:24:39:972] [51] LineHoverController.onActiveLinesChanged — e=editor=file:///home/alek/PurePhone/PurePhone/changelog.md, lines=undefined, pending=true, reason=selection [2020-11-07 23:24:39:972] [51] LineHoverController.onActiveLinesChanged completed • 0 ms [2020-11-07 23:24:39:972] [52] StatusBarController.onActiveLinesChanged — e=editor=file:///home/alek/PurePhone/PurePhone/changelog.md, lines=undefined, pending=true, reason=selection [2020-11-07 23:24:39:972] [52] StatusBarController.onActiveLinesChanged completed • 0 ms [2020-11-07 23:24:40:239] [53] LineAnnotationController.onActiveLinesChanged — e=editor=file:///home/alek/PurePhone/PurePhone/changelog.md, lines=undefined, pending=false, reason=selection [2020-11-07 23:24:40:239] [54] LineAnnotationController.clear completed • 0 ms [2020-11-07 23:24:40:239] [53] LineAnnotationController.onActiveLinesChanged completed • 0 ms [2020-11-07 23:24:40:239] [55] LineHoverController.onActiveLinesChanged — e=editor=file:///home/alek/PurePhone/PurePhone/changelog.md, lines=undefined, pending=false, reason=selection [2020-11-07 23:24:40:239] [55] LineHoverController.onActiveLinesChanged completed • 0 ms [2020-11-07 23:24:40:239] [56] StatusBarController.onActiveLinesChanged — e=editor=file:///home/alek/PurePhone/PurePhone/changelog.md, lines=undefined, pending=false, reason=selection [2020-11-07 23:24:40:240] [56] StatusBarController.onActiveLinesChanged completed • 0 ms [2020-11-07 23:24:40:485] [57] LineAnnotationController.onActiveLinesChanged — e=editor=file:///home/alek/PurePhone/PurePhone/changelog.md, lines=undefined, pending=true, reason=selection [2020-11-07 23:24:40:485] [58] LineAnnotationController.clear completed • 0 ms [2020-11-07 23:24:40:485] [57] LineAnnotationController.onActiveLinesChanged completed • 0 ms [2020-11-07 23:24:40:485] [59] LineHoverController.onActiveLinesChanged — e=editor=file:///home/alek/PurePhone/PurePhone/changelog.md, lines=undefined, pending=true, reason=selection [2020-11-07 23:24:40:485] [59] LineHoverController.onActiveLinesChanged completed • 0 ms [2020-11-07 23:24:40:485] [5a] StatusBarController.onActiveLinesChanged — e=editor=file:///home/alek/PurePhone/PurePhone/changelog.md, lines=undefined, pending=true, reason=selection [2020-11-07 23:24:40:485] [5a] StatusBarController.onActiveLinesChanged completed • 0 ms [2020-11-07 23:24:40:735] [5b] LineAnnotationController.onActiveLinesChanged — e=editor=file:///home/alek/PurePhone/PurePhone/changelog.md, lines=undefined, pending=false, reason=selection [2020-11-07 23:24:40:735] [5c] LineAnnotationController.clear completed • 0 ms [2020-11-07 23:24:40:735] [5b] LineAnnotationController.onActiveLinesChanged completed • 0 ms [2020-11-07 23:24:40:735] [5d] LineHoverController.onActiveLinesChanged — e=editor=file:///home/alek/PurePhone/PurePhone/changelog.md, lines=undefined, pending=false, reason=selection [2020-11-07 23:24:40:735] [5d] LineHoverController.onActiveLinesChanged completed • 0 ms [2020-11-07 23:24:40:736] [5e] StatusBarController.onActiveLinesChanged — e=editor=file:///home/alek/PurePhone/PurePhone/changelog.md, lines=undefined, pending=false, reason=selection [2020-11-07 23:24:40:736] [5e] StatusBarController.onActiveLinesChanged completed • 0 ms ```
Does this still happen with GitLens 11?
Does this still happen with GitLens 11?
I'm having a similar (perhaps the same) problem. Here's what's happens when I click a line in a file:
[2020-11-16 18:07:08:722] [1a6] LineAnnotationController.onActiveLinesChanged — e=editor=file:///home/Ricardo/Workspace/Doist/Todoist/todoist-web/react_components/top_menu/TopMenu.jsx, selections=undefined, pending=true, reason=selection
[2020-11-16 18:07:08:722] [1a7] LineAnnotationController.clear completed • 0 ms
[2020-11-16 18:07:08:722] [1a6] LineAnnotationController.onActiveLinesChanged completed • 0 ms
[2020-11-16 18:07:08:722] [1a8] LineHoverController.onActiveLinesChanged — e=editor=file:///home/Ricardo/Workspace/Doist/Todoist/todoist-web/react_components/top_menu/TopMenu.jsx, selections=undefined, pending=true, reason=selection
[2020-11-16 18:07:08:722] [1a8] LineHoverController.onActiveLinesChanged completed • 0 ms
[2020-11-16 18:07:08:722] [1a9] StatusBarController.onActiveLinesChanged — e=editor=file:///home/Ricardo/Workspace/Doist/Todoist/todoist-web/react_components/top_menu/TopMenu.jsx, selections=undefined, pending=true, reason=selection
[2020-11-16 18:07:08:722] [1a9] StatusBarController.onActiveLinesChanged completed • 0 ms
[2020-11-16 18:07:08:973] [1aa] GitLineTracker.updateState returned false • document is not blameable • 0 ms — e=252, t=file:///home/Ricardo/Workspace/Doist/Todoist/todoist-web/react_components/top_menu/TopMenu.jsx
[2020-11-16 18:07:08:973] [1ab] LineAnnotationController.onActiveLinesChanged — e=editor=file:///home/Ricardo/Workspace/Doist/Todoist/todoist-web/react_components/top_menu/TopMenu.jsx, selections=undefined, pending=false, reason=selection
[2020-11-16 18:07:08:973] [1ac] LineAnnotationController.clear completed • 0 ms
[2020-11-16 18:07:08:973] [1ab] LineAnnotationController.onActiveLinesChanged completed • 0 ms
[2020-11-16 18:07:08:973] [1ad] LineHoverController.onActiveLinesChanged — e=editor=file:///home/Ricardo/Workspace/Doist/Todoist/todoist-web/react_components/top_menu/TopMenu.jsx, selections=undefined, pending=false, reason=selection
[2020-11-16 18:07:08:973] [1ad] LineHoverController.onActiveLinesChanged completed • 0 ms
[2020-11-16 18:07:08:973] [1ae] StatusBarController.onActiveLinesChanged — e=editor=file:///home/Ricardo/Workspace/Doist/Todoist/todoist-web/react_components/top_menu/TopMenu.jsx, selections=undefined, pending=false, reason=selection
[2020-11-16 18:07:08:973] [1ae] StatusBarController.onActiveLinesChanged completed • 0 ms
I'm using GitLens 11.0.1 with WSL Remote extension and git 2.29.2.
Does this still happen with GitLens 11?
Yes, it still happens...
I found the culprit on my side... The problem was that this particular project had the following configuration in it's .git/config file:
[blame]
ignoreRevsFile = .git-blame-ignore-revs
Maybe you could add support for this option? If that's too much work, maybe you could release a "fix" in the intermediate time which would ignore that option and make Git blame work again.
Hrm, I will have to look more into that, as I thought I supported the ignoreRevsFile.
I can confirm this is the same issue connected with ignoreRevsFile. Once I remove it, the issue is gone.
@alekrudnik @rfgamaral Are you both on the most recent version of Git? If so, Git recently made a change that will cause blame to die completely if there is an invalid revision in the ignoreRevsFile.
Here was the change https://github.com/git/git/commit/610e2b924020fe2d6a55e7ca6651f309b85c2d1d
And a discussion about reverting it: https://lore.kernel.org/git/CA+phgpFS_MOKOib5+yAE7U2QPMqMD_t+yXhR29UG9aSO4pgk+A@mail.gmail.com/
Can you confirm that this is the case?
FYI, I ran into the same issue on my repo, I had a revision in my ignore revs file that only existed on 1 branch -- and on one of my machines I never checked out that branch so blame was failing.
git version 2.29.2. Seems like exactly mine issue. tx
I can confim that the following config breaks git blame if no .git-blame-ignore-revs exists.
[blame]
ignoreRevsFile = .git-blame-ignore-revs
Simply having an empty .git-blame-ignore-revs make blame work as intended.
macOS 11.1 (20C69) git version 2.24.3 (Apple Git-128) git version 2.30.0
Can confirm here on Windows as well
[2022-04-07 19:39:24.059] [GIT ] [d:/Dev/project] git blame --root --incremental -- src/server.ts • Command failed: C:\Program Files\Git\cmd\git.exe -c core.longpaths=true -c core.quotepath=false -c color.ui=false blame --root --incremental -- src/server.ts • could not open object name list: .git-blame-ignore-revs • 21 ms
This isn't exactly Gitlens' fault. If you do git blame src/server.ts you get that exact error. Really git should be changed to be more flexible here- my goal was to set this up globally in my user level gitconfig, but clearly that's not possible right now.
It would be great if GitLens at least notified the user when the blame failed, and maybe linked to known issues. Right now, the blame just silently fails
We might be able to trap this error (if its specific enough) and offer up a helpful error message. @Rowansdabomb any chance you'd open a PR for that?
also started noticing this after enabling this globally and using a repository without that file:
[blame]
ignorerevsfile=.git-blame-ignore-revs
Maybe gitlens could detect that file before trying to use it in a command? Judging by the comments it seems to be a common thing where it's added globally and then fails locally in another repository. I guess the quickfix is to either remove that config or just add the file in all repositories
I am having the same issue as @intellix, after removing the ignorerevsfile option in the repo's .git/config, I was able to view the line blame
I I'm having same Issue with blame lines not showing and I found my culprit. GIVEN On our Terminal server we have R: mapped using logon script SUBST R: %userprofile%\source\repos WHEN Opening R:\myprojectfolder in VSCode THEN blame lines are not showing.
WHEN Opening C:\users\myself\source\repos\myprojectfolder VSCode THEN blame lines are showing
Thoughts?
Consider that you may have set ignoreRevsFile through config at some point. There was no file on my system and no apparent config.
git config blame.ignoreRevsFile returned .git-blame-ignore-revs but this file did not exist, as we had put that project on hold.
I ran git config blame.ignoreRevsFile "" and reloaded VS Code. Line blame was working again 😌
Can confirm the same issue on:
- Windows 10H22
- Windows 10H22 <--> WSL2 (Ubuntu 20.04)
- Ubuntu 22.04.3
Gitlens v14.6.1 VS Code 1.85.1 git version 2.34.1
Fixed by removing [blame] section in .gitconfig as specified in https://github.com/gitkraken/vscode-gitlens/issues/1143#issuecomment-758947995 and restarting VS Code
Current git itself fails when that file is not present. I think an error in the main gitlens log notifying that blame failed should be enough? Currently it silently fails, but if you enable debug logging, it displays "blame failed"
[2024-01-18 11:32:26.765] [ 4af] LineTracker.updateState(e=18, t=file:///xxxxxxx/xxxxxxx.yy) returned false • blame failed [0ms]