-
Notifications
You must be signed in to change notification settings - Fork 369
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
Fix: Revert with allow empty #8803
Conversation
2708678
to
98382d3
Compare
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.
Nice catch, thanks for fixing.
Looking good, approving:
Though when looking at the code, CherryPick
seems to use the same pattern.
Should we handle it as well, or open an Issue for it?
We should probably open a separate issue for it |
Surely out of scope for this PR, but git-revert doesn't have this flag. Why did we add it instead of aligning with whatever git is doing when reverting an empty commit? |
AFAICT, it's not about adding this as a flag, but it allows an empty commit for revert - |
Definitely out of scope of this PR. |
Closes #8801
Waiting for a single approval