[#5] Add "Revert" to the list of allowed commit prefixes
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
7616539e89
commit
c2f55eea82
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)`)
|
rxHeader := regexp.MustCompile(`^(\[\#[0-9Xx]+\]\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