diff --git a/git.go b/git.go
index 7cc3dfe2952101717611a513996bd317ebccc18f..6671e8a37b9703fab03bfbb39062a0524d332ef4 100644
--- a/git.go
+++ b/git.go
@@ -83,13 +83,13 @@ func getLatestTagCommit(r *git.Repository) (*object.Commit, error) {
 }
 
 func getCommitTypeSinceTag(r *git.Repository, tagCommit *object.Commit) (CommitType, error) {
-	commitLog, err := r.Log(&git.LogOptions{From: tagCommit.Hash})
+	cIter, err := r.Log(&git.LogOptions{From: tagCommit.Hash})
 	if err != nil {
 		return OtherCommit, fmt.Errorf("failed to get commit log: %v", err)
 	}
 
 	var commitType CommitType
-	err = commitLog.ForEach(func(commit *object.Commit) error {
+	err = cIter.ForEach(func(commit *object.Commit) error {
 		if strings.HasPrefix(commit.Message, "feat:") {
 			commitType = FeatCommit
 		} else if strings.HasPrefix(commit.Message, "fix:") {