Re: Clone fails on a repo with too many heads/tags

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Mar 24, 2012 at 09:49:55PM +0100, Ivan Todoroski wrote:

> Unfortunately it failed, and to make matters worse it failed exactly
> on the parts dealing with smart HTTP, which is what I need to test in
> the first place. Talk about Murphy's law...
> 
> Is it failing for anyone else on the vanilla "maint" branch? I would
> appreciate any help I could get here.

No, it passes fine here (Debian unstable).

> expecting success:
>         git clone $HTTPD_URL/smart-redir-perm/repo.git --quiet repo-p
> 
> error: RPC failed; result=22, HTTP code = 405
> fatal: The remote end hung up unexpectedly
> not ok - 6 follow redirects (301)

That's weird. 405 is "Method Not Allowed". Clone shouldn't be doing
anything more exotic than GET and POST. And the prior tests pass, so it
means that it's working in general. The only thing different about this
test is that apache is configured to use mod_rewrite to issue a
redirect.

Does your machine have mod_rewrite installed and enabled? I would think
apache would complain at startup if it wasn't.  I wonder if there's
something non-portable in the minimal apache config we ship.

Does httpd/error.log in the trash directory say anything interesting?

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


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]