Skip to content
Snippets Groups Projects
Verified Commit 3ce6f60b authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix: other commits

parent 48a7528c
No related branches found
No related tags found
No related merge requests found
...@@ -13,10 +13,10 @@ import ( ...@@ -13,10 +13,10 @@ import (
type CommitType int type CommitType int
const ( const (
FixCommit CommitType = iota OtherCommit CommitType = iota
FeatCommit FeatCommit
BreakingCommit BreakingCommit
OtherCommit FixCommit
) )
func GetCommitType(path string) (CommitType, error) { func GetCommitType(path string) (CommitType, error) {
...@@ -107,8 +107,6 @@ func getCommitTypeSinceTag(r *git.Repository, tagCommit *object.Commit) (CommitT ...@@ -107,8 +107,6 @@ func getCommitTypeSinceTag(r *git.Repository, tagCommit *object.Commit) (CommitT
commitType = BreakingCommit commitType = BreakingCommit
found = true found = true
return storer.ErrStop // stop iteration return storer.ErrStop // stop iteration
} else {
commitType = OtherCommit
} }
return nil return nil
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment