I know that the hosted repo feature is fairly new and needs some testing, but thats what I want to do :).
I created a [[ https://bk-dev.hacked.jp/diffusion/T/ | new repo ]] in the webinterface and then tried to clone this repo.
This is the output I get:
E:\temp>git clone https://bk-dev.hacked.jp/diffusion/T/ testrepo
Cloning into 'testrepo'...
efrror: RPC failed; result=22, HTTP code = 415
atal: The remote end hung up unexpectedly
Looking at [[ https://github.com/git/git/blob/master/http-backend.c | the code ]] of git-http-backend, 415 means that [[ https://github.com/git/git/blob/master/http-backend.c#L467 | the content-type is wrong ]]. Looking even further at DiffusionServeController::serveGitRequest. It seems to me that the content-type is just pushed through.
Is this a bug of diffusion or just my server having some issues?
I'm using git version 1.8.3.msysgit.0 as the clone client and git version 220.127.116.11 is on the server.
Can I enable some kind of logging, that shows me what env is passed to the git-http-backend executeable?