Skip to content

Commit

Permalink
Issue #198 Allow Revert word in validate_commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
chmouel committed Apr 10, 2018
1 parent 2b399c9 commit 3abdc20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ clean: ## Deletes all build artifacts

.PHONY: validate_commits
validate_commits: tools ## Validates git commit messages
git-validation -q -run short-subject,message_regexp='^(Fix\s)?(Issue\s)?#[0-9]+ [A-Z]+.*' -range $(START_COMMIT_MESSAGE_VALIDATION)...
git-validation -q -run short-subject,message_regexp='^(Revert\s*)?(Fix\s*)?(Issue\s*)?#[0-9]+ [A-Z]+.*' -range $(START_COMMIT_MESSAGE_VALIDATION)...

.PHONY: help
help: ## Prints this help
Expand Down

0 comments on commit 3abdc20

Please sign in to comment.