New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navigating file diffs with `alt+,` gets stuck #155

Closed
borekb opened this Issue Sep 29, 2017 · 7 comments

Comments

Projects
None yet
2 participants
@borekb

borekb commented Sep 29, 2017

  • GitLens Version: 5.3.0
  • VSCode Version: 1.16.1
  • OS Version: Windows 10

From README:

Effortlessly navigate between comparisons via the alt+, and alt+. shortcut keys to go back and forth through a file's revisions

This does work for me for about 2-3 revisions into the past, then alt+, is stuck on the same comparison again and again. There was no rename of the file or anything.

If I use File History menu and jump to some old one, alt+. navigation works correctly, it seems to be stuck on the most recent ones only when I start from the current revision.

@borekb borekb changed the title from Navigating file diffs with alt+, gets stuck to Navigating file diffs with `alt+,` gets stuck Sep 29, 2017

@eamodio

This comment has been minimized.

Owner

eamodio commented Sep 30, 2017

Do you have a public repo & file that you see this behavior on? So far, I haven't been able to reproduce it. If you don't have any place public that demonstrates the issue can you turn on logging and reproduce the issue and post the logs?

Thanks!

@borekb

This comment has been minimized.

borekb commented Oct 1, 2017

I can reproduce on this README.md. I am pressing Alt+,, in the GIF below, then Alt+. a couple of times.

gitlens-back-bug

Here are the logs:

getRemotes('c:/Dev/VersionPress/versionpress')
isTracked('c:\Dev\VersionPress\versionpress\README.md', 'c:/Dev/VersionPress/versionpress/')
getRemotes('c:/Dev/VersionPress/versionpress/')
Cached(blame:f2edbbef2309a22a304e6f42877e497d86c142bc): getBlameForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc)
git -c core.quotepath=false ls-files c:\Dev\VersionPress\versionpress\README.md   cwd='c:/Dev/VersionPress/versionpress/'
getBlameForLine('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', 5, f2edbbef2309a22a304e6f42877e497d86c142bc)
Cached(blame:f2edbbef2309a22a304e6f42877e497d86c142bc): getBlameForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc)
getRemotes('c:/Dev/VersionPress/versionpress')
Not Cached(log:n1): getLogForFile('undefined', 'c:\Dev\VersionPress\versionpress\README.md', undefined, 1, undefined, false)
Add log cache for 'c:/dev/versionpress/versionpress/readme.md:log:n1'
Cached(log:n1): getLogForFile('undefined', 'c:\Dev\VersionPress\versionpress\README.md', undefined, 1, undefined, false)
getBlameForLine('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', 5, f2edbbef2309a22a304e6f42877e497d86c142bc)
Cached(blame:f2edbbef2309a22a304e6f42877e497d86c142bc): getBlameForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc)
git -c core.quotepath=false log --name-status --full-history -M --format=%H -%nauthor %an%nauthor-date %at%nparents %P%nsummary %B%nfilename ? --follow -n1 --no-merges -- README.md   cwd='c:/Dev/VersionPress/versionpress'
isTracked('c:\Dev\VersionPress\versionpress\README.md', 'c:/Dev/VersionPress/versionpress/')
getRemotes('c:/Dev/VersionPress/versionpress/')
Not Cached(blame): getBlameForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', undefined)
Add blame cache for 'c:/dev/versionpress/versionpress/readme.md:blame'
git -c core.quotepath=false ls-files c:\Dev\VersionPress\versionpress\README.md   cwd='c:/Dev/VersionPress/versionpress/'
git -c core.quotepath=false blame --root --incremental -- README.md   cwd='c:/Dev/VersionPress/versionpress/'
getBlameForLine('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', 5, undefined)
Cached(blame): getBlameForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', undefined)
Cached(log:n1): getLogForFile('undefined', 'c:\Dev\VersionPress\versionpress\README.md', undefined, 1, undefined, false)
Not Cached(log:n2): getLogForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', undefined, 2, undefined, false)
Add log cache for 'c:/dev/versionpress/versionpress/readme.md:log:n2'
git -c core.quotepath=false log --name-status --full-history -M --format=%H -%nauthor %an%nauthor-date %at%nparents %P%nsummary %B%nfilename ? --follow -n2 --no-merges -- README.md   cwd='c:/Dev/VersionPress/versionpress/'
isFileUncommitted('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md')
getStatusForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md')
git -c core.quotepath=false status --porcelain=v2 README.md   cwd='c:/Dev/VersionPress/versionpress/'
getVersionedFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', d913c1887e1ef738cefe61acf2a268321a3990b2)
getVersionedFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc)
git -c core.quotepath=false show d913c1887e1ef738cefe61acf2a268321a3990b2:./README.md   cwd='c:/Dev/VersionPress/versionpress/'
getVersionedFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', d913c1887e1ef738cefe61acf2a268321a3990b2); destination=C:\Users\borek\AppData\Local\Temp\README-d913c188__8936rAXZc5tS3dun.md
git -c core.quotepath=false show f2edbbef2309a22a304e6f42877e497d86c142bc:./README.md   cwd='c:/Dev/VersionPress/versionpress/'
getVersionedFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc); destination=C:\Users\borek\AppData\Local\Temp\README-f2edbbef__8936A4AWN9VYoZE6.md
Clear cache entry for 'c:/dev/versionpress/versionpress/readme.md', reason=DocumentClosed
getRemotes('c:/Dev/VersionPress/versionpress')
isTracked('c:\Dev\VersionPress\versionpress\README.md', 'c:/Dev/VersionPress/versionpress/')
getRemotes('c:/Dev/VersionPress/versionpress/')
Not Cached(blame:f2edbbef2309a22a304e6f42877e497d86c142bc): getBlameForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc)
Add blame cache for 'c:/dev/versionpress/versionpress/readme.md:blame:f2edbbef2309a22a304e6f42877e497d86c142bc'
getBlameForLine('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', 5, f2edbbef2309a22a304e6f42877e497d86c142bc)
Cached(blame:f2edbbef2309a22a304e6f42877e497d86c142bc): getBlameForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc)
git -c core.quotepath=false blame --root --incremental f2edbbef2309a22a304e6f42877e497d86c142bc -- README.md   cwd='c:/Dev/VersionPress/versionpress/'
git -c core.quotepath=false ls-files c:\Dev\VersionPress\versionpress\README.md   cwd='c:/Dev/VersionPress/versionpress/'
getBlameForLine('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', 5, f2edbbef2309a22a304e6f42877e497d86c142bc)
Cached(blame:f2edbbef2309a22a304e6f42877e497d86c142bc): getBlameForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc)
Not Cached(log:f2edbbef2309a22a304e6f42877e497d86c142bc:n2): getLogForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc, 2, undefined, false)
Add log cache for 'c:/dev/versionpress/versionpress/readme.md:log:f2edbbef2309a22a304e6f42877e497d86c142bc:n2'
git -c core.quotepath=false log --name-status --full-history -M --format=%H -%nauthor %an%nauthor-date %at%nparents %P%nsummary %B%nfilename ? --follow -n2 --no-merges f2edbbef2309a22a304e6f42877e497d86c142bc -- README.md   cwd='c:/Dev/VersionPress/versionpress/'
getVersionedFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', d913c1887e1ef738cefe61acf2a268321a3990b2)
getVersionedFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc)
git -c core.quotepath=false show f2edbbef2309a22a304e6f42877e497d86c142bc:./README.md   cwd='c:/Dev/VersionPress/versionpress/'
getVersionedFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc); destination=C:\Users\borek\AppData\Local\Temp\README-f2edbbef__8936bPODUU0K4zfG.md
git -c core.quotepath=false show d913c1887e1ef738cefe61acf2a268321a3990b2:./README.md   cwd='c:/Dev/VersionPress/versionpress/'
getVersionedFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', d913c1887e1ef738cefe61acf2a268321a3990b2); destination=C:\Users\borek\AppData\Local\Temp\README-d913c188__89368EZRhXsLlmQr.md
getRemotes('c:/Dev/VersionPress/versionpress')
isTracked('c:\Dev\VersionPress\versionpress\README.md', 'c:/Dev/VersionPress/versionpress/')
getRemotes('c:/Dev/VersionPress/versionpress/')
Cached(blame:f2edbbef2309a22a304e6f42877e497d86c142bc): getBlameForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc)
getBlameForLine('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', 5, f2edbbef2309a22a304e6f42877e497d86c142bc)
Cached(blame:f2edbbef2309a22a304e6f42877e497d86c142bc): getBlameForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc)
git -c core.quotepath=false ls-files c:\Dev\VersionPress\versionpress\README.md   cwd='c:/Dev/VersionPress/versionpress/'
getBlameForLine('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', 5, f2edbbef2309a22a304e6f42877e497d86c142bc)
Cached(blame:f2edbbef2309a22a304e6f42877e497d86c142bc): getBlameForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc)
Cached(log:f2edbbef2309a22a304e6f42877e497d86c142bc:n2): getLogForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc, 2, undefined, false)
getVersionedFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', d913c1887e1ef738cefe61acf2a268321a3990b2)
getVersionedFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc)
git -c core.quotepath=false show d913c1887e1ef738cefe61acf2a268321a3990b2:./README.md   cwd='c:/Dev/VersionPress/versionpress/'
git -c core.quotepath=false show f2edbbef2309a22a304e6f42877e497d86c142bc:./README.md   cwd='c:/Dev/VersionPress/versionpress/'
getVersionedFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc); destination=C:\Users\borek\AppData\Local\Temp\README-f2edbbef__8936imFBrg58TPGq.md
getVersionedFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', d913c1887e1ef738cefe61acf2a268321a3990b2); destination=C:\Users\borek\AppData\Local\Temp\README-d913c188__8936b7H3y3B8FYkO.md
getRemotes('c:/Dev/VersionPress/versionpress')
isTracked('c:\Dev\VersionPress\versionpress\README.md', 'c:/Dev/VersionPress/versionpress/')
getRemotes('c:/Dev/VersionPress/versionpress/')
Cached(blame:f2edbbef2309a22a304e6f42877e497d86c142bc): getBlameForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc)
git -c core.quotepath=false ls-files c:\Dev\VersionPress\versionpress\README.md   cwd='c:/Dev/VersionPress/versionpress/'
Cached(log:f2edbbef2309a22a304e6f42877e497d86c142bc:n2): getLogForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc, 2, undefined, false)
getVersionedFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', d913c1887e1ef738cefe61acf2a268321a3990b2)
getVersionedFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc)
getBlameForLine('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', 5, f2edbbef2309a22a304e6f42877e497d86c142bc)
Cached(blame:f2edbbef2309a22a304e6f42877e497d86c142bc): getBlameForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc)
git -c core.quotepath=false show f2edbbef2309a22a304e6f42877e497d86c142bc:./README.md   cwd='c:/Dev/VersionPress/versionpress/'
git -c core.quotepath=false show d913c1887e1ef738cefe61acf2a268321a3990b2:./README.md   cwd='c:/Dev/VersionPress/versionpress/'
getVersionedFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc); destination=C:\Users\borek\AppData\Local\Temp\README-f2edbbef__8936U2mKBcy1Gmyf.md
getVersionedFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', d913c1887e1ef738cefe61acf2a268321a3990b2); destination=C:\Users\borek\AppData\Local\Temp\README-d913c188__8936E1g3985Mg3pA.md
getRemotes('c:/Dev/VersionPress/versionpress')
isTracked('c:\Dev\VersionPress\versionpress\README.md', 'c:/Dev/VersionPress/versionpress/')
getRemotes('c:/Dev/VersionPress/versionpress/')
Cached(blame:f2edbbef2309a22a304e6f42877e497d86c142bc): getBlameForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc)
getBlameForLine('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', 5, f2edbbef2309a22a304e6f42877e497d86c142bc)
Cached(blame:f2edbbef2309a22a304e6f42877e497d86c142bc): getBlameForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc)
git -c core.quotepath=false ls-files c:\Dev\VersionPress\versionpress\README.md   cwd='c:/Dev/VersionPress/versionpress/'
getBlameForLine('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', 5, f2edbbef2309a22a304e6f42877e497d86c142bc)
Cached(blame:f2edbbef2309a22a304e6f42877e497d86c142bc): getBlameForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc)
Cached(log:f2edbbef2309a22a304e6f42877e497d86c142bc:n2): getLogForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc, 2, undefined, false)
getVersionedFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', d913c1887e1ef738cefe61acf2a268321a3990b2)
getVersionedFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc)
git -c core.quotepath=false show d913c1887e1ef738cefe61acf2a268321a3990b2:./README.md   cwd='c:/Dev/VersionPress/versionpress/'
git -c core.quotepath=false show f2edbbef2309a22a304e6f42877e497d86c142bc:./README.md   cwd='c:/Dev/VersionPress/versionpress/'
getVersionedFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', d913c1887e1ef738cefe61acf2a268321a3990b2); destination=C:\Users\borek\AppData\Local\Temp\README-d913c188__89365Pd6X3I2Pajy.md
getVersionedFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc); destination=C:\Users\borek\AppData\Local\Temp\README-f2edbbef__8936inAGiUuPEGjF.md
getRemotes('c:/Dev/VersionPress/versionpress')
isTracked('c:\Dev\VersionPress\versionpress\README.md', 'c:/Dev/VersionPress/versionpress/')
getRemotes('c:/Dev/VersionPress/versionpress/')
Cached(blame:f2edbbef2309a22a304e6f42877e497d86c142bc): getBlameForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc)
getBlameForLine('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', 5, f2edbbef2309a22a304e6f42877e497d86c142bc)
Cached(blame:f2edbbef2309a22a304e6f42877e497d86c142bc): getBlameForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc)
git -c core.quotepath=false ls-files c:\Dev\VersionPress\versionpress\README.md   cwd='c:/Dev/VersionPress/versionpress/'
Not Cached(log): getLogForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', undefined, undefined, undefined, false)
Add log cache for 'c:/dev/versionpress/versionpress/readme.md:log'
getBlameForLine('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', 5, f2edbbef2309a22a304e6f42877e497d86c142bc)
Cached(blame:f2edbbef2309a22a304e6f42877e497d86c142bc): getBlameForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc)
git -c core.quotepath=false log --name-status --full-history -M --format=%H -%nauthor %an%nauthor-date %at%nparents %P%nsummary %B%nfilename ? --follow --no-merges -- README.md   cwd='c:/Dev/VersionPress/versionpress/'
? Cache(log:f2edbbef2309a22a304e6f42877e497d86c142bc:n1): getLogForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc, 1, undefined, false)
Cached(log:f2edbbef2309a22a304e6f42877e497d86c142bc:n1): getLogForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc, 1, undefined, false)
getVersionedFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc)
git -c core.quotepath=false show f2edbbef2309a22a304e6f42877e497d86c142bc:./README.md   cwd='c:/Dev/VersionPress/versionpress/'
getVersionedFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc); destination=C:\Users\borek\AppData\Local\Temp\README-f2edbbef__8936sQnpiPe9c6CA.md
getRemotes('c:/Dev/VersionPress/versionpress')
Cached(~log:n1): getLogForFile('undefined', 'c:\Dev\VersionPress\versionpress\README.md', undefined, 1, undefined, false)
Cached(~log:n1): getLogForFile('undefined', 'c:\Dev\VersionPress\versionpress\README.md', undefined, 1, undefined, false)
isTracked('c:\Dev\VersionPress\versionpress\README.md', 'c:/Dev/VersionPress/versionpress/')
getRemotes('c:/Dev/VersionPress/versionpress/')
Not Cached(blame): getBlameForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', undefined)
Add blame cache for 'c:/dev/versionpress/versionpress/readme.md:blame'
getBlameForLine('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', 5, undefined)
Cached(blame): getBlameForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', undefined)
git -c core.quotepath=false blame --root --incremental -- README.md   cwd='c:/Dev/VersionPress/versionpress/'
git -c core.quotepath=false ls-files c:\Dev\VersionPress\versionpress\README.md   cwd='c:/Dev/VersionPress/versionpress/'
Cached(~log:n1): getLogForFile('undefined', 'c:\Dev\VersionPress\versionpress\README.md', undefined, 1, undefined, false)
isFileUncommitted('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md')
getStatusForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md')
getBlameForLine('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', 5, undefined)
Cached(blame): getBlameForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', undefined)
git -c core.quotepath=false status --porcelain=v2 README.md   cwd='c:/Dev/VersionPress/versionpress/'
Cached(~log:n2): getLogForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', undefined, 2, undefined, false)
Cached(~log:n1): getLogForFile('undefined', 'c:\Dev\VersionPress\versionpress\README.md', undefined, 1, undefined, false)
isTracked('c:\Dev\VersionPress\versionpress\README.md', 'c:/Dev/VersionPress/versionpress/')
getRemotes('c:/Dev/VersionPress/versionpress/')
Cached(blame:f2edbbef2309a22a304e6f42877e497d86c142bc): getBlameForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc)
git -c core.quotepath=false ls-files c:\Dev\VersionPress\versionpress\README.md   cwd='c:/Dev/VersionPress/versionpress/'
getBlameForLine('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', 7, f2edbbef2309a22a304e6f42877e497d86c142bc)
Cached(blame:f2edbbef2309a22a304e6f42877e497d86c142bc): getBlameForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc)
Cached(log:f2edbbef2309a22a304e6f42877e497d86c142bc:n2): getLogForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc, 2, undefined, false)
getVersionedFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', d913c1887e1ef738cefe61acf2a268321a3990b2)
getVersionedFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc)
git -c core.quotepath=false show d913c1887e1ef738cefe61acf2a268321a3990b2:./README.md   cwd='c:/Dev/VersionPress/versionpress/'
getVersionedFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', d913c1887e1ef738cefe61acf2a268321a3990b2); destination=C:\Users\borek\AppData\Local\Temp\README-d913c188__8936AZdB3CKEh1fd.md
git -c core.quotepath=false show f2edbbef2309a22a304e6f42877e497d86c142bc:./README.md   cwd='c:/Dev/VersionPress/versionpress/'
getVersionedFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc); destination=C:\Users\borek\AppData\Local\Temp\README-f2edbbef__893683L3VWBEV69f.md
Clear cache entry for 'c:/dev/versionpress/versionpress/readme.md', reason=DocumentClosed
getRemotes('c:/Dev/VersionPress/versionpress')
isTracked('c:\Dev\VersionPress\versionpress\README.md', 'c:/Dev/VersionPress/versionpress/')
getRemotes('c:/Dev/VersionPress/versionpress/')
Not Cached(blame:f2edbbef2309a22a304e6f42877e497d86c142bc): getBlameForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc)
Add blame cache for 'c:/dev/versionpress/versionpress/readme.md:blame:f2edbbef2309a22a304e6f42877e497d86c142bc'
getBlameForLine('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', 7, f2edbbef2309a22a304e6f42877e497d86c142bc)
Cached(blame:f2edbbef2309a22a304e6f42877e497d86c142bc): getBlameForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc)
git -c core.quotepath=false ls-files c:\Dev\VersionPress\versionpress\README.md   cwd='c:/Dev/VersionPress/versionpress/'
git -c core.quotepath=false blame --root --incremental f2edbbef2309a22a304e6f42877e497d86c142bc -- README.md   cwd='c:/Dev/VersionPress/versionpress/'
getBlameForLine('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', 7, f2edbbef2309a22a304e6f42877e497d86c142bc)
Cached(blame:f2edbbef2309a22a304e6f42877e497d86c142bc): getBlameForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc)
Not Cached(log:f2edbbef2309a22a304e6f42877e497d86c142bc:n2): getLogForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc, 2, undefined, false)
Add log cache for 'c:/dev/versionpress/versionpress/readme.md:log:f2edbbef2309a22a304e6f42877e497d86c142bc:n2'
git -c core.quotepath=false log --name-status --full-history -M --format=%H -%nauthor %an%nauthor-date %at%nparents %P%nsummary %B%nfilename ? --follow -n2 --no-merges f2edbbef2309a22a304e6f42877e497d86c142bc -- README.md   cwd='c:/Dev/VersionPress/versionpress/'
getVersionedFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', d913c1887e1ef738cefe61acf2a268321a3990b2)
getVersionedFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc)
git -c core.quotepath=false show f2edbbef2309a22a304e6f42877e497d86c142bc:./README.md   cwd='c:/Dev/VersionPress/versionpress/'
getVersionedFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc); destination=C:\Users\borek\AppData\Local\Temp\README-f2edbbef__8936P5xoCC3Ustz4.md
git -c core.quotepath=false show d913c1887e1ef738cefe61acf2a268321a3990b2:./README.md   cwd='c:/Dev/VersionPress/versionpress/'
getVersionedFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', d913c1887e1ef738cefe61acf2a268321a3990b2); destination=C:\Users\borek\AppData\Local\Temp\README-d913c188__8936frp0ghuSmo35.md
getRemotes('c:/Dev/VersionPress/versionpress')
isTracked('c:\Dev\VersionPress\versionpress\README.md', 'c:/Dev/VersionPress/versionpress/')
getRemotes('c:/Dev/VersionPress/versionpress/')
Cached(blame:f2edbbef2309a22a304e6f42877e497d86c142bc): getBlameForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc)
getBlameForLine('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', 7, f2edbbef2309a22a304e6f42877e497d86c142bc)
Cached(blame:f2edbbef2309a22a304e6f42877e497d86c142bc): getBlameForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc)
git -c core.quotepath=false ls-files c:\Dev\VersionPress\versionpress\README.md   cwd='c:/Dev/VersionPress/versionpress/'
Cached(log:f2edbbef2309a22a304e6f42877e497d86c142bc:n2): getLogForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc, 2, undefined, false)
getVersionedFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', d913c1887e1ef738cefe61acf2a268321a3990b2)
getVersionedFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc)
getBlameForLine('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', 7, f2edbbef2309a22a304e6f42877e497d86c142bc)
Cached(blame:f2edbbef2309a22a304e6f42877e497d86c142bc): getBlameForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc)
git -c core.quotepath=false show d913c1887e1ef738cefe61acf2a268321a3990b2:./README.md   cwd='c:/Dev/VersionPress/versionpress/'
git -c core.quotepath=false show f2edbbef2309a22a304e6f42877e497d86c142bc:./README.md   cwd='c:/Dev/VersionPress/versionpress/'
getVersionedFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', d913c1887e1ef738cefe61acf2a268321a3990b2); destination=C:\Users\borek\AppData\Local\Temp\README-d913c188__8936vKAnFdUCg1Fy.md
getVersionedFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc); destination=C:\Users\borek\AppData\Local\Temp\README-f2edbbef__8936uESRLKRxZGv4.md
getRemotes('c:/Dev/VersionPress/versionpress')
isTracked('c:\Dev\VersionPress\versionpress\README.md', 'c:/Dev/VersionPress/versionpress/')
getRemotes('c:/Dev/VersionPress/versionpress/')
Cached(blame:f2edbbef2309a22a304e6f42877e497d86c142bc): getBlameForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc)
getBlameForLine('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', 7, f2edbbef2309a22a304e6f42877e497d86c142bc)
Cached(blame:f2edbbef2309a22a304e6f42877e497d86c142bc): getBlameForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc)
git -c core.quotepath=false ls-files c:\Dev\VersionPress\versionpress\README.md   cwd='c:/Dev/VersionPress/versionpress/'
getBlameForLine('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', 7, f2edbbef2309a22a304e6f42877e497d86c142bc)
Cached(blame:f2edbbef2309a22a304e6f42877e497d86c142bc): getBlameForFile('c:/Dev/VersionPress/versionpress/', 'c:\Dev\VersionPress\versionpress\README.md', f2edbbef2309a22a304e6f42877e497d86c142bc)
getRemotes('c:/Dev/VersionPress/versionpress')

@eamodio

This comment has been minimized.

Owner

eamodio commented Oct 3, 2017

@borekb thanks for the gif -- so the issue basically comes down to you needing to focus the left side of the diff when walking back with alt+, -- because it opens a diff with the previous of the selected revision -- and the right side ends up re-opening the diff that is already opened.

Unfortunately there isn't a way for me to get vscode to focus the left side (see Microsoft/vscode#16707 (comment)) nor is there a way for me to tell that the file you are in is on the right or the left so I can't even go by that.

@borekb

This comment has been minimized.

borekb commented Oct 3, 2017

Ah I see! Do you have access to the tab label? Maybe the previous to previous revision could be inferred from that. For example, if the label is README.md (0a74cd8) <-> README.md (c1bea421), alt+, would navigate to the revision before 0a74cd8.

If this isn't a reasonable workaround, maybe a note about the manual focus to the left pane could be added to the README.

@eamodio

This comment has been minimized.

Owner

eamodio commented Oct 11, 2017

There doesn't seem to be any reasonable workaround right now. So I opened Microsoft/vscode#36019

@eamodio eamodio closed this Oct 22, 2017

@eamodio eamodio self-assigned this Apr 30, 2018

@eamodio eamodio added this to the Soon™ milestone Apr 30, 2018

@eamodio eamodio added bug and removed upstream/vscode labels Apr 30, 2018

@eamodio eamodio reopened this Apr 30, 2018

@borekb

This comment has been minimized.

borekb commented Apr 30, 2018

Did this become feasible?

@eamodio

This comment has been minimized.

Owner

eamodio commented Apr 30, 2018

Yeah, its a bit hacky, but vscode added a command context isInDiffEditor which is set when the active editor is a diff editor -- so that gave me a way to detect that case and rework things appropriately

@eamodio eamodio closed this in 6aee5f4 May 17, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment