-
Notifications
You must be signed in to change notification settings - Fork 390
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
Add a --edit flag #5419
Add a --edit flag #5419
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
c7061b2
to
e7b2b20
Compare
In other contexts, |
That makes sense to me and I'm happy to make the change. To briefly play devil's advocate:
But internal consistency is more important than consistency with those other tools, so I'm happy to make the change if you/other people would prefer it that way. |
What about |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me overall, thanks for implementing this! Also be sure to adjust the commit message as per @PhilipMetzger's comment.
Re --editor
vs --no-editor
, I also asked in this Discord message. It seems like there's many factors to consider, so let's not block this PR on that. I'll open a separate discussion.
ddef46c
to
2c947a5
Compare
What's the convention here for who merges, when that happens, etc? I think this is ready to go now. @arxanas |
The procedure currently is that Martin invites you to the |
The --edit flag forces the editor to be shown, even if it would have been hidden due to the --no-edit flag or another flag that implies it (such as --message or --stdin).
The --edit flag forces the editor to be shown, even if it would have been hidden due to the --no-edit flag or another flag that implies it (such as --message or --stdin).
This fixes #5379
Checklist
If applicable:
CHANGELOG.md