We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e77047 commit 04ca695Copy full SHA for 04ca695
services/pull/compare.go
@@ -36,7 +36,7 @@ func GetCompareInfo(ctx context.Context, baseRepo, headRepo *repo_model.Reposito
36
// Add a temporary remote
37
tmpRemote = strconv.FormatInt(time.Now().UnixNano(), 10)
38
if err = gitrepo.GitRemoteAdd(ctx, headRepo, tmpRemote, baseRepo.RepoPath()); err != nil {
39
- return nil, fmt.Errorf("AddRemote: %w", err)
+ return nil, fmt.Errorf("GitRemoteAdd: %w", err)
40
}
41
defer func() {
42
if err := gitrepo.GitRemoteRemove(ctx, headRepo, tmpRemote); err != nil {
0 commit comments