#19 #20

Closed
kgorbunov wants to merge 112 commits from kgorbunov/pkgdash:#19 into master
Showing only changes of commit fd3315b12b - Show all commits

View File

@ -467,7 +467,7 @@ func (g Gitea) fetchCheckout(ctx context.Context, repo *git.Repository, branch,
var headRef *plumbing.Reference
targetBranch, err := repo.Branch(branch)
targetBranch, err := repo.Branch(plumbing.NewBranchReferenceName(branch).String())
if err != nil {
g.logger.Error(ctx, "cant get repo branch", err)
return nil, nil, err