Hello community I have a problem with the "new" http-backend of git.
I have set up the git-http-backend to use the "smart" http version of git.
Authentification works fine, I can clone my repository over http and https
For testing purposes, GIT_SSL_NO_VERIFY and http.receivepack are both set
But when I am trying to push, I get a 404 header back and a return code 22:
> PROPFIND /git/repo/test.git/ HTTP/1.1
< HTTP/1.1 100 Continue
* We are completely uploaded and fine
* The requested URL returned error: 404 Not Found
* Closing connection 0
error: Cannot access URL https://10.5.1.2/git/repo/test.git/, return code 22
fatal: git-http-push failed
That of course had me confused, because PROPFIND is a Webdav call and I
thought the http backend would only use "smart" http (webdav is not enabled
on the server)
In an answer *here*
it confirms that Webdav should actually not even be used. It also states
that Webdav will be used as backup if the client receives a 403 header.
But my Access log as well as the trace do not show any sign of that.
Through my hook script I got a dump of the environement that is submitted
to the script:
The error log logging the error output of the git-http-backend contains
Status: 404 Not Found
Expires: Fri, 01 Jan 1980 00:00:00 GMT
Cache-Control: no-cache, max-age=0, must-revalidate
Request not supported: '/theRealPathToTheGitRoot/gitroot/test.git/
Did I mess something up? I am sure that Webdav should not be required for
the backend to work.
Client Git 1.9.x under Windows and Linux
Any help would be much appreciated :)
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.