From 3c49a6173d9cdf339f4a27d427a4cfc3dd51a24f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 22 Mar 2022 00:55:36 +0800 Subject: mod: bump github.com/gogs/git-module from 1.2.0 to 1.4.0 (#6866) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joe Chen --- internal/db/action.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/db/action.go') diff --git a/internal/db/action.go b/internal/db/action.go index 970ff203..2bb02d39 100644 --- a/internal/db/action.go +++ b/internal/db/action.go @@ -267,7 +267,7 @@ func (pc *PushCommits) ToApiPayloadCommits(repoPath, repoURL string) ([]*api.Pay return nil, fmt.Errorf("get user by email: %v", err) } - nameStatus, err := git.RepoShowNameStatus(repoPath, commit.Sha1) + nameStatus, err := git.ShowNameStatus(repoPath, commit.Sha1) if err != nil { return nil, fmt.Errorf("show name status [commit_sha1: %s]: %v", commit.Sha1, err) } -- cgit v1.2.3