Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Version
Manage
Activity
Members
Plan
Jira
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSS
Utilities
Version
Commits
3ce6f60b
Verified
Commit
3ce6f60b
authored
1 year ago
by
Volker Schukai
Browse files
Options
Downloads
Patches
Plain Diff
fix: other commits
parent
48a7528c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
git.go
+3
-5
3 additions, 5 deletions
git.go
with
3 additions
and
5 deletions
git.go
+
3
−
5
View file @
3ce6f60b
...
...
@@ -13,10 +13,10 @@ import (
type
CommitType
int
const
(
Fix
Commit
CommitType
=
iota
Other
Commit
CommitType
=
iota
FeatCommit
BreakingCommit
Other
Commit
Fix
Commit
)
func
GetCommitType
(
path
string
)
(
CommitType
,
error
)
{
...
...
@@ -107,10 +107,8 @@ func getCommitTypeSinceTag(r *git.Repository, tagCommit *object.Commit) (CommitT
commitType
=
BreakingCommit
found
=
true
return
storer
.
ErrStop
// stop iteration
}
else
{
commitType
=
OtherCommit
}
return
nil
})
if
err
!=
nil
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment