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

View diffs in ediff #165

Merged
merged 9 commits into from
Apr 14, 2011
Merged

View diffs in ediff #165

merged 9 commits into from
Apr 14, 2011

Conversation

pjweisberg
Copy link
Member

This adds the feature requested in issue #40. Pressing the 'e' key with the cursor on any diff will launch ediff to show the two versions of the file.

Currently 'e' launches magit-interactive-resolve when the cursor is on an unmerged change in the status buffer. The new magit-ediff``function checks for that case and callsmagit-interactive-resolve`, so this only adds functionality to the 'e' key.

…agit-interactive-resolve-item`. `magit-ediff` actually calls `magit-interactive-resolve-item` when it's appropriate, so this only adds functionality.
(I also updated the @copyright line, since Marius is definitely not the only one who's worked on this file anymore.)

This documents the change that closes magit#40.
…guration.

Outside forces are less likely to interfere with a variable named magit-ediff-windows than with a register named 'm'.
@philjackson
Copy link
Contributor

This looks great, I'm going to merge this. Perhaps we can swap out magit-get-file-from-commit if it makes sense.

@philjackson philjackson merged commit 5e401c6 into magit:master Apr 14, 2011
@dabrahams
Copy link
Contributor

Enhancement request: it would be awesome if a `C-u' prefix would allow me to choose the "treeish"es participating in the diff, rather like ediff-revision does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

None yet

3 participants