Re: git clone problem through HTTP
From: Julian Phillips <hidden>
Date: 2016-06-15 22:43:06
On Fri, 20 Apr 2007, Brian Gernhardt wrote:
On Apr 20, 2007, at 9:38 AM, Aubrey Li wrote:quoted
On 4/20/07, Julian Phillips [off-list ref] wrote:quoted
On Fri, 20 Apr 2007, Aubrey Li wrote:quoted
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.
Yep.
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.
I was hoping to find time to poke this over the weekend ... maybe even this evening. -- Julian --- Nature always sides with the hidden flaw.