On 11/08/2011 3:55 pm, evilpingus wrote:
> Hello,
>
> I been trying to switch to GIT from SVN, for couple days allready, but
> cannot overcome this annoying issue with push. I have been googling
> and trying some suggested ways but still no avail, and I am pretty
> desparate as I have been taking too much time with this issue
> allready, so any suggestions, comments would be very very wellcome.
> I succeed with ssh and git protocol, but in my case only option I can
> make it work is Smart HTTP.
>
> Git repos are located under /var/git/*.git as bare repositories
...
> <---------------------Apache
> logs--------------------------------------------->
> 127.0.0.1 - - [11/Aug/2011:16:51:07 +0200] "GET /foo.git/info/refs?
> service=git-receive-pack HTTP/1.1" 401 727
> 127.0.0.1 - test [11/Aug/2011:16:51:07 +0200] "GET /foo.git/info/refs?
> service=git-receive-pack HTTP/1.1" 200 1511
> 127.0.0.1 - test [11/Aug/2011:16:51:07 +0200] "GET /foo.git/HEAD HTTP/
> 1.1" 200 258
> 127.0.0.1 - - [11/Aug/2011:16:51:09 +0200] "PROPFIND /foo.git/ HTTP/
> 1.1" 401 727
> 127.0.0.1 - test [11/Aug/2011:16:51:09 +0200] "PROPFIND /foo.git/ HTTP/
> 1.1" 405 559
> <---------------------Apache logs
> end--------------------------------------------->
>
> I get asked for password twice, which is also strange.
> By googling around I found some suggestions that PROPFIND is WebDAV
> command, and this suggests that Git is falling back to old "Dumb"
> protocol.

Can you fetch, or are both fetch and pull failing?

It looks, to an eye that's never seen a smart HTTP transaction before,
that git's attempting to establish a smart http connection (the GET
requests with the service parameter), then not liking what it's got
back and attempting standard DAV.

Also, there are no requests to /git/, which is what your scriptalias
is set to, so the git-http-backend shouldn't be being called at any
rate.
Looking at the Examples section of man git-http-backend, it looks like
you should have set your remote url to http://localhost/git/foo.git,
not http://localhost/foo.git. Does that help?

Also check the apache error file, if it's separate.

Antony

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to