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

feat: Use original commit message on one commit updates #1

Merged
merged 2 commits into from
Jan 8, 2024

Conversation

DS424
Copy link
Contributor

@DS424 DS424 commented Jan 3, 2024

If a template update only applies one commit to the target repository, the original commit message and body can be applied without modifications
instead of the summary with all changes for bulk edits.

This change introduces a detection if the template update only contains one commit and uses the
original message accordingly.

This will allow maintainers to update repositories in smaller increments, such that the commit history may partially mirror the commit history of the template.

If a template update only applies one commit to the
target repository, the original commit message and
body can be applied without modifications
instead of the summary with all changes for bulk edits.

This change introduces a detection if the template
update only contains one commit and uses the
original message accordingly.

This will allow maintainers to update repositories
in smaller increments, such that the commit history
may partially mirror the commit history of the template.
@DS424 DS424 marked this pull request as ready for review January 3, 2024 09:39
@g3n35i5 g3n35i5 merged commit f6471d3 into main Jan 8, 2024
17 checks passed
@g3n35i5 g3n35i5 deleted the feat/one-commit-update-messages branch January 8, 2024 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants