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

Properly squash commits created by git commit --fixup=amend:$rev #27

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

ukleinek
Copy link
Contributor

git commit --fixup=amend:$rev allows to overwrite the commit message of a previous commit. This results in a commit with prefix "amend!". Expand the pattern that triggers using git rebase -i --autosquash to also match on such commits.

@ukleinek
Copy link
Contributor Author

ukleinek commented Oct 18, 2023

I don't understand that failing DCO check. I didn't add a Signed-off-by line because there is no defined semantic for such a line in this repository.

@Emantor
Copy link
Member

Emantor commented Oct 26, 2023

I don't understand that failing DCO check. I didn't add a Signed-off-by line because there is no defined semantic for such a line in this repository.

The defined semantic is probably https://developercertificate.org/, as with any other repo using sobs.

@michaelolbrich
Copy link
Member

I don't understand that failing DCO check. I didn't add a Signed-off-by line because there is no defined semantic for such a line in this repository.

With #28 that has been fixed. Thanks for that. So can you please add your s-o-b?

The code looks good, so once this is resolved we can merge.

git commit --fixup=amend:$rev allows to overwrite the commit message of
a previous commit. This results in a commit with prefix "amend!". Expand
the pattern that triggers using git rebase -i --autosquash to also match
on such commits.

Signed-off-by: Uwe Kleine-König <[email protected]>
@ukleinek
Copy link
Contributor Author

ukleinek commented Nov 1, 2023

Rebased and added an sob-line

@michaelolbrich michaelolbrich merged commit acf990f into pengutronix:master Nov 1, 2023
2 checks passed
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