From mboxrd@z Thu Jan 1 00:00:00 1970 From: mricon at kernel.org (Konstantin Ryabitsev) Date: Wed, 30 Apr 2014 12:32:23 -0400 Subject: Bug: alternates not followed when enable-http-clone=1 In-Reply-To: <20140428182729.GA23935@serenity.lan> References: <535E7F5F.9050401@kernel.org> <20140428182729.GA23935@serenity.lan> Message-ID: <53612597.1040301@kernel.org> On 28/04/14 02:27 PM, John Keeping wrote: > Do you have absolute or relative paths in $GIT_DIR/info/alternates? > > I can't see anything that CGit's HTTP implementation does differently > from git-http-backend, but gitrepository-layout(5) indicates that you > may need to create $GIT_DIR/info/http-alternates as well to provide the > correct paths to HTTP clients. Ah, you are right, of course -- dumb protocol can't do plain alternates. Silly me! Then I take it back -- it's not really a bug at all, just a misconfiguration on my end. > If you don't want CGit's HTTP clone, it might make more sense to just > turn it off in cgitrc ("enable-http-clone = 0"). That's what I ended up doing. People weren't supposed to be using cgit URLs for cloning, but someone always tries. :) Best, -- Konstantin Ryabitsev Senior Systems Administrator Linux Foundation Collab Projects Montr?al, Qu?bec -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 713 bytes Desc: OpenPGP digital signature URL: