Re: git clone problem through HTTP
- From
Brian Gernhardt <benji@silverinsanity.com>
- Date
- Apr 20, 2007, 14:01 UTC
- Message-ID
- <E27761F8-7325-433C-89BB-B3475FA802A3@silverinsanity.com>
- In-Reply-To
- <6d6a94c50704200638y7cd3c81aj3ff7f78863f4ab8d@mail.gmail.com>
On Apr 20, 2007, at 9:38 AM, Aubrey Li wrote:
Show 15 quoted lines
> On 4/20/07, Julian Phillips <julian@quantumfyre.co.uk> wrote: >> On Fri, 20 Apr 2007, Aubrey Li wrote: >> >> > I'm behind of a firewall on which the git port is not permitted, >> so I >> > can only use http protocol. Unfortunately, I can't clone linus' git >> > tree at all. >> >> Linus packs his refs, which means that currently you can't clone >> using >> http, with any version of git. > > I really don't understand why packed refs or not depend on the > protocol. > It doesn't make any sense.
I think it's simply because git-http-fetch doesn't look for the packed-refs file. Are we actually going to support HTTP fetching? If so, we should update it to pull the packed-refs file too. If not, it should be clearly marked as depreciated. That said, I think HTTP is the easiest way for most people to publish and removing it would be a mistake. I'd poke at it, but there's not enough spare time in the day at the moment.
~~ Brian