Add reply to code review (#978)

Follow https://gitea.com/gitea/go-sdk/pulls/784

Reviewed-on: https://gitea.com/gitea/tea/pulls/978
This commit is contained in:
Lunny Xiao
2026-06-26 21:40:31 +00:00
parent 885381e3e4
commit d4545d8ed7
12 changed files with 423 additions and 22 deletions
+1 -1
View File
@@ -77,9 +77,9 @@ func doPRFetch(
localRemote *local_git.Remote,
callback func(string) (string, error),
) (string, error) {
_ = callback
localRemoteName := localRemote.Config().Name
localBranchName := pr.Head.Ref
// get auth & fetch remote via its configured protocol
url, err := localRepo.TeaRemoteURL(localRemoteName)
if err != nil {
return "", err