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

Follow renames when loading a file in the Working Tree (from a historical commit) #480

Closed
mhutchie opened this issue Mar 13, 2021 · 2 comments
Assignees
Labels
improvement An improvement to existing functionality
Milestone

Comments

@mhutchie
Copy link
Owner

Describe the improvement that you'd like
The "Open File" and "View Diff with Working File" actions on the file context menu in the Commit Details View both open the file in the Working Tree.

Currently, if the file was subsequently renamed, the extension treats it as if the file was deleted (as the historically known file path doesn't exist in the Working Tree).

If the file no longer exists in the repository, Git should be used to determine if the file has since been renamed, and if so, utilise the new name of the file when opening the file in the Working Tree.

@mhutchie mhutchie added the improvement An improvement to existing functionality label Mar 13, 2021
@mhutchie mhutchie added this to the v1.30.0 milestone Mar 13, 2021
@mhutchie mhutchie self-assigned this Mar 13, 2021
mhutchie added a commit that referenced this issue Mar 13, 2021
…t, and the file has since been renamed, Git is now used to detect renames and enable the Working File to be opened.
@mhutchie
Copy link
Owner Author

This will be available in v1.30.0.

It will also be made available in the next beta release (within the next two days).

@mhutchie
Copy link
Owner Author

This will be available in v1.30.0.

If you'd like to use it before the next release, you can download v1.30.0-beta.2, and install it following the instructions provided here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement An improvement to existing functionality
Projects
None yet
Development

No branches or pull requests

1 participant