Fix smart HTTP transport protocol handling #952

Open
alixinne wants to merge 1 commits from alixinne/patch-1 into main
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ func (t *httpSmartSubtransport) Action(url string, action SmartServiceAction) (S
req, err = http.NewRequest("GET", url+"/info/refs?service=git-receive-pack", nil)
case SmartServiceActionReceivepack:
req, err = http.NewRequest("POST", url+"/info/refs?service=git-upload-pack", nil)
req, err = http.NewRequest("POST", url+"/git-receive-pack", nil)
if err != nil {
break
}