aboutsummaryrefslogtreecommitdiff
path: root/internal/db/action.go
diff options
context:
space:
mode:
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2022-03-22 00:55:36 +0800
committerGitHub <noreply@github.com>2022-03-22 00:55:36 +0800
commit3c49a6173d9cdf339f4a27d427a4cfc3dd51a24f (patch)
tree4ed73e5a8ea82695a073b74fd9b53a874f7bfca7 /internal/db/action.go
parentd66fe583d5f1e0ea5b50aa478ae1dcf3bd69fe7c (diff)
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 <jc@unknwon.io>
Diffstat (limited to 'internal/db/action.go')
-rw-r--r--internal/db/action.go2
1 files changed, 1 insertions, 1 deletions
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)
}