#19 #20

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

View File

@ -538,7 +538,7 @@ func (g Gitea) fetchCheckout(ctx context.Context, repo *git.Repository, branch,
if pullExist {
if err = wtree.Checkout(&git.CheckoutOptions{
Branch: plumbing.NewBranchReferenceName(branch),
Branch: headRef.Name(),
Create: false,
Force: true,
}); err != nil && err != git.ErrBranchExists {