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

Request: add a --refresh option? #108

Open
Flameeyes opened this issue Apr 9, 2020 · 3 comments
Open

Request: add a --refresh option? #108

Flameeyes opened this issue Apr 9, 2020 · 3 comments

Comments

@Flameeyes
Copy link
Contributor

Not sure whether to just implement this myself first, since I'm not sure if it matches your wishes for the tool, but if so let me know and I might just do that.

In many cases I find myself wanting to just refresh a pull request without changing the text, and would be nice to have an easy way to do so without having to edit the description in the editor.

@jd
Copy link
Member

jd commented Apr 9, 2020

You can add EDITOR=cat in front of the command and create an alias for it.

@Flameeyes
Copy link
Contributor Author

That would work if I want to just keep the description to the autogenerated one. But sometimes I have a more explanatory pull request description than the commits themselves alone (particularly when I'm convincing someone why something needs to be merged ;))

@jd
Copy link
Member

jd commented Apr 9, 2020

Sounds fine indeed. It's likely it should detect if the editor is needed or not in the end.

Flameeyes added a commit to Flameeyes/git-pull-request that referenced this issue Apr 12, 2020
This is to address issue Mergifyio#108 — it streamlines a bit refreshing an
already-created pull request.
Flameeyes added a commit to Flameeyes/git-pull-request that referenced this issue Apr 12, 2020
This is to address issue Mergifyio#108 — it streamlines a bit refreshing an
already-created pull request.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants