On Sat, Dec 29, 2012 at 08:54:32PM +0100, Davide Baldini wrote:

> -----
> [...]
> Git repository has been configured as:
>     cd /var/www/public/GT_rulesets/GT00.git
>     git init --bare
>     mv hooks/post-update.sample hooks/post-update
>     git update server-info
>     chmode 777 /var/www/public/GT_rulesets/GT00.git  # for testing.

Should this last line be a "chmod -R"? Git init will create many
subdirectories, and you want to make sure they are all writable for

> _   Git:
>         Git can fetch the repository without problems:
>         git clone http://username:passw...@greatturn.org:8081/GT00.git
> Pushing the locally fetched repository back to the remote one doesn't
> work:
> [...]
> > - - [29/Dec/2012:16:43:26 +0100] "PROPFIND /GT00.git/ 
> > HTTP/1.1" 401 767 "-" "git/"

If fetch is working and push is not, I'd suspect WebDAV configuration
problems (and indeed, your credentials seem fine, but the PROPFIND is
returning a 401). Fetch works over stock HTTP and does not use WebDAV at
all. There is some documentation on setting up DAV here:


but I have no idea if it is up-to-date or not.

However, before trying to investigate that avenue, have you considered
using git's smart-http backend instead of WebDAV? It's significantly
more efficient. You can get details and example apache configuration
from "git help http-backend".

To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to