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

DiffReview does not honor patchreview_split_right setting #5

Closed
bartlibert opened this issue May 14, 2014 · 2 comments
Closed

DiffReview does not honor patchreview_split_right setting #5

bartlibert opened this issue May 14, 2014 · 2 comments

Comments

@bartlibert
Copy link

I have set patchreview_split_right to 1 and this work OK for the PatchReview command, but when I use DiffReview, the changes are still on the left, while I'd prefer them on the right.

Now, this could be by design (it's a "patchreview" setting after all), but in that case I'd like to see a "diffreview_split_right" setting if possible.

Thank you.

@junkblocker
Copy link
Owner

I can't reproduce this problem locally. What vim version/platform and patchreview.vim plugin version etc. are you running? Does changing g:patchreview_split_right to 0 instead give you the correct behavior for DiffReview?

@bartlibert
Copy link
Author

I changed it and I now get the correct behaviour. So I guess it's just a misunderstanding of the functionality on my part. Am I corret that this the intended behaviour:

  • For patchreview, "current source" is the file without the patch applied, "diff" is the file with patches applied
  • For diffreview, "current source" is the current state of the workspace, "diff" is the parent revision

I thought diffreview would use the parent as the current source and the changes on top of that as the diff, but I realize I was just wrong there. So this can be closed.

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

No branches or pull requests

2 participants