Skip to content
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

Browsing history of a renamed file fails in forward direction #716

Closed
borekb opened this issue Apr 15, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@borekb
Copy link

commented Apr 15, 2019

  • GitLens Version: 9.6.0
  • VSCode Version: 1.33.1

When I use the history browsing commands:

Screenshot 2019-04-15 at 09 46 53

on a renamed file, it works in the backward direction (Open Change with Previous Revision) but fails in the forward one (Open Change with Next Revision). The error message is:

Unable to open compare. The file is probably not under source control.

This seems somewhat related: #422.

@eamodio eamodio self-assigned this Apr 25, 2019

@eamodio eamodio added the type: bug label Apr 25, 2019

@eamodio eamodio added this to the Soon™ milestone Apr 25, 2019

eamodio added a commit that referenced this issue Apr 27, 2019

Fixes #716 - reworks diff w/ next
Disables commands for the deleted or missing sha
Adds getNextDiffUris & getNextUri
Renames getDiffWithPreviousForFile to getPreviousDiffUris
Renames getPreviousRevisionUri to getPreviousUri

@eamodio eamodio closed this in 8a64a06 May 6, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.