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

Doesn't really work for PRs on branches with unsquashed commits #4

Open
rmloveland opened this issue Sep 10, 2018 · 4 comments
Open

Comments

@rmloveland
Copy link

If a PR has several commits on the branch, re shows a diff that does not reflect all of the changes that make up the PR, but only a subset (the latest commit?).

This may be how git works and have nothing to do with re. But if there is a way for re to work in this instance, that would be cool.

Otherwise I volunteer to update the README to note that you must be working with PRs on branches that have all their commits squashed (which seems like the right way to live anyway - just surprised me in this case).

@jordanlewis
Copy link
Owner

Hmm - that doesn't seem right. Can you give me an example of a PR that has this problem? re was designed specifically for multi-commit PRs.

@rmloveland
Copy link
Author

Probably too late to be useful now, but it was this docs PR. I ended up asking Lauren to squash so I could do the review with re (which worked fine at that point).

I did find the re-edit-* file from the earlier attempt. I'm attaching it to this comment. Hopefully it shows you what was happening (it's possible this is a PEBKAC situation).

re-edit-201726569.txt

If that is not helpful I will set up another PR to try to repro.

@jordanlewis
Copy link
Owner

jordanlewis commented Sep 10, 2018 via email

@rmloveland
Copy link
Author

This issue appears to have been user confusion on my part and can be closed IMO. Just filed a feature request for the "squash mode" in #5.

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