-
Notifications
You must be signed in to change notification settings - Fork 913
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(rules): ignore comments in
signed-off-by
(#2098)
Fix `signed-off-by` rule to ignore lines starting with `#`. These lines are comments. They are added by `git commit` at the end of the commit message template to show which files are included in the commit, and removed from the actual commit message. Before this change, the rule `signed-off-by` was rejecting pretty much all commit messages created by `git commit` from the command line. With this change in place, the rule ignores commits and accepts commit message created by `git commit` from the command line. Signed-off-by: Miroslav Bajtoš <[email protected]>
- Loading branch information
Showing
2 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters