Skip to content
This repository has been archived by the owner on Nov 28, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants