Open
Conversation
Collaborator
sharwell
commented
Sep 18, 2014
- Create a new editor option that controls the visibility of the diff margin. Future versions of the extension could implement a UI for controlling this value, and it will automatically be functional.
- Implement three new commands for controlling the base version used in comparison operations. The commands are defined and implemented, but not exposed in the UI.
- Compare to Index: The working copy is compared to the index (where files get staged).
- Compare to Head: The working copy is compared to the latest commit.
- Toggle Compare to Index: A single command which toggles between Compare to Index and Compare to Head.
…o Index", and "Compare to Head"
Owner
|
@sharwell I will go on with further tests and then I think we could release the new version which is already loaded with new great features. Then I will get back to that PR |
Owner
|
Really cool idea, I love it! |
Contributor
|
I was wondering if there were any hooks to do this kind of thing in recent versions? I'd like to be able to diff with a specific branch (for GitHub PR integration). Is this PR a good place to start or is it very out of date? 😄 |
Contributor
|
@jcansdale I submitted a much simpler PR #155 against the latest head of master that demonstrates a quick-and-dirty way to accomplish what you are trying to do. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.