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 git commit --fixup and --squash features #26

Closed
mislav opened this issue Oct 7, 2014 · 0 comments · Fixed by #29
Closed

Allow git commit --fixup and --squash features #26

mislav opened this issue Oct 7, 2014 · 0 comments · Fixed by #29

Comments

@mislav
Copy link

mislav commented Oct 7, 2014

git commit flags --fixup and --squash are great in rebase-centric workflows, especially in combination with git config rebase.autosquash enabled. Unfortunately, commitplease component validation will abort these commits.

The solution would be to skip validation on commits that start with "fixup!" or "squash!". These are temporary commits that will get merged into others on the next rebase, so it makes no sense to perform validation on them at this moment.

jzaefferer added a commit that referenced this issue Oct 17, 2014
See the readme updats for usage details.

Fixes #26
Fixes #28
jzaefferer added a commit that referenced this issue Oct 21, 2014
Both fixup! and squash! are git-specific. Any component in square brackets
like [Tmp] or [fix] is also considered valid, to be manually squashed later.

Fixes #26
Fixes #28
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 a pull request may close this issue.

1 participant