forked from TrueCloudLab/dco-go
[#3] Disallow using [xX] in commit prefix
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
c2f55eea82
commit
b57feca5f3
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -16,7 +16,7 @@ import (
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
// Prepare regexp templates.
|
// Prepare regexp templates.
|
||||||
rxHeader := regexp.MustCompile(`^(\[\#[0-9Xx]+\]\s|Release|Revert|Reapply)`)
|
rxHeader := regexp.MustCompile(`^(\[\#[0-9]+\]\s|Release|Revert|Reapply)`)
|
||||||
rxSignOff := regexp.MustCompile(`^Signed-off-by:`)
|
rxSignOff := regexp.MustCompile(`^Signed-off-by:`)
|
||||||
|
|
||||||
// Open current git dir.
|
// Open current git dir.
|
||||||
|
|
Loading…
Reference in a new issue