-
Notifications
You must be signed in to change notification settings - Fork 67
Include name of squashed patch in squash edit message. #119
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
Comments
I like that! I see clearly how it would work if How do you expect it should work for the case where no |
Good point. The top line would need to be conditional. Probably just |
If --name isn't included we don't try to guess what the name may be (since the name is dependent on the commit description the user gives to the squashed commit. Tested locally that this works correctly with and without '--name'. Resolves stacked-git#119
If --name isn't included we don't try to guess what the name may be (since the name is dependent on the commit description the user gives to the squashed commit. Tested locally that this works correctly with and without '--name'. Resolves #119
A possible modification to consider in the
stg squash
edit message: show the squashed patch name somewhere. Possibly on the first line. E.g.:# squashed-patch-name is a combination of N patches
or
# Squashing N patches as squashed-patch-name
The latter would be better if reusing the name of one of the patches being squashed (which I often do).
Originally posted by @jpgrayson in #118 (comment)
The text was updated successfully, but these errors were encountered: