#19 change post to patch
This commit is contained in:
@@ -440,7 +440,7 @@ func (g *Gitea) GetPulls(ctx context.Context, url, owner, repo, password string)
|
||||
|
||||
func (g *Gitea) checkout(w *git.Worktree, ref *plumbing.Reference) error {
|
||||
ctx := context.Background()
|
||||
g.logger.Debug(ctx, "checkout: "+ref.Name().Short())
|
||||
g.logger.Debug(ctx, "checkout: "+ref.String())
|
||||
|
||||
if err := w.Checkout(&git.CheckoutOptions{
|
||||
Branch: ref.Name(),
|
||||
|
Reference in New Issue
Block a user