Skip to content

Commit 4a5f2a7

Browse files
Merge pull request #930 from merico-dev/additions-gitlab
Gitlab was not enriching additions or deletions on commits
2 parents ea2e6f6 + 78b65d6 commit 4a5f2a7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plugins/gitlab/tasks/commits_converter.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ func convertToCommitModel(commit *gitlabModels.GitlabCommit) *code.Commit {
3333
RepoId: uint64(commit.ProjectId),
3434
Message: commit.Message,
3535
AuthorName: commit.AuthorName,
36+
Additions: commit.Additions,
37+
Deletions: commit.Deletions,
3638
AuthorEmail: commit.AuthorEmail,
3739
AuthoredDate: commit.AuthoredDate,
3840
CommitterName: commit.CommitterName,

0 commit comments

Comments
 (0)