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

Prefer commit author from source commit #398

Merged
merged 1 commit into from
Jun 10, 2022
Merged

Conversation

sorenlouv
Copy link
Owner

@sorenlouv sorenlouv commented Jun 10, 2022

Currently the backport commit author defaults to using the author info from git config. This PR changes that so the backport commit author will instead inherit the author from the source commit.

To override this behaviour the user can set the commit author explicitly like:

backport --git-author-name="Donald Duck" --git-author-email="duck@disney.com"

@sorenlouv sorenlouv merged commit dfd9a77 into main Jun 10, 2022
@sorenlouv sorenlouv deleted the prefer-source-commit-author branch June 10, 2022 08:01
@sorenlouv sorenlouv added the $1 label Jun 13, 2022
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.

None yet

1 participant