-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Description
- GitLens Version: 7.00
- VSCode Version: 1.19.1
- OS Version: Win 10, OSX 10.13.2
When a diff is open, it would be ideal to have a command that can close it and replace with the working file. If this exists, I'm missing it. 'Git.openfile' only works if the diff window contains the working file. Once you start rummaging around in diff this command become a no-op.
Even if I just had 'gitlens.openWorkingFile' I would be happy since I could write an extension to grab the current document url, run the command and close the previous diff doc.
Alternatively, if there is any way for an extension to grab the working file info/url from a gitlens diff that would also work, but once the diff has 2 temp file urls, I don't see a reasonable way to derive what working file they are sourced from (if any).
Thanks - love the extension.
Metadata
Metadata
Assignees
Labels
No labels