- GitLens Version: 11.0.0
- Git Version: 2.29.2.windows.2
- VSCode Version: 1.51.0
- OS Version: Windows 10 build 19042.630
Steps to Reproduce:
- clone https://gitlab.com/c2ba/c2ba-toolbox
git checkout -b _gitlens_compare_tmp1
- in VSCode: F1 ->
GitLens: Compare working tree with and select origin/_gitlens_compare_tmp2
In the Search & Compare view you should see 5 files changes reported under Behind and Ahead (See (1) in screenshot below). If you click on any file under these lists, the diff view opens but reports no changes.
I often use this functionality when I rewrite my branches history to check that I keep the same files on the original and the rewritten branch. Fortunatly when I compare the 2 branches _gitlens_compare_tmp1 and _gitlens_compare_tmp2 under the Commits view I get No files changed under Ahead, so I can still compare my branches (see (2) in screenshot below). This is less convenient though because there is no Compare current branch with command that I could use with F1, so I need to use the UI.

PS: Thanks you for your work on this extension btw, release 11.0.0 is great !