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

Allow for custom commit messages that include details from multiple commits #36

Open
D3SOX opened this issue May 6, 2021 · 1 comment

Comments

@D3SOX
Copy link

D3SOX commented May 6, 2021

When pushing multiple commits at once the {msg} template only provides the message of the latest commit. Is it possible to have all commits' messages put into the MESSAGE parameter and therefore in the published commit message?

It would be great if this could also be applied to {sha}/{long-sha}.

I want the published commit message to be something like:

Update build with new commits
- feat: new feature
- fix: fix stuff
- ...
Commits: abcdef, fedcba, ...
@s0
Copy link
Owner

s0 commented May 31, 2021

I'll have a think about the best way to do this... it's not obvious how to make this configurable, it may perhaps need to allow for multiple placeholders

The other complex element is that determining the last HEAD sha is non-trivial too, as there's no guarantee that the message is of a particular format (and that nothing else has been pushed), and there's no git metadata that will reffer to the git sha used in the upstream repo

@s0 s0 changed the title Question: Behavior when pushing multiple commits Allow for custom commit messages that include details from multiple commits Feb 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants