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

Support --signoff in commit messages #612

Open
infotexture opened this issue Feb 17, 2024 · 1 comment
Open

Support --signoff in commit messages #612

infotexture opened this issue Feb 17, 2024 · 1 comment

Comments

@infotexture
Copy link

I regularly contribute to open-source projects that require the Git --signoff option to indicate that the commit meets the standards of the Developer Certificate of Origin (DCO).

When I push changes with git subrepo push, the commit message does not include the --signoff option, so it fails DCO checks in CI.

I'm aware of the --message option, and can use it to adjust the default commit message, but I'm not sure how to add a multiline message with that option to ensure that the signoff trailer appears on its own line at the end of the commit log message.

It would be convenient if git-subrepo would accept the --signoff option, which would allow it to add the same trailer as added by git commit --signoff.

@admorgan
Copy link
Collaborator

I agree this would be a good enhancement.

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