sigma / magit-gh-pulls

Magit plugin for dealing with GitHub pull requests
254 stars 48 forks source link

Ability to diff a PR #40

Closed adamdecaf closed 9 years ago

adamdecaf commented 9 years ago

So I noticed that you can go to the last commit on a PR and diff that d r works to diff the current branch against the remote branch. However, that shows the inverse of the diff. So is there an easier way to set the remote branch (which is hard to find) as the base and diff master against it? e.g. to invert the d r logic?

Or perhaps I'm missing something on a better way to diff PR's inside this.

alexander-yakushev commented 9 years ago

@adamdecaf I've just pushed this as a new feature. You can now do # d when highlighting a PR, and it will show the whole diff between the last commit in PR and the base commit of the PR. Is this the behavior you would expect from this feature?

adamdecaf commented 9 years ago

@alexander-yakushev Yea, that's what I was looking for. Thanks!