git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Alex RiesenNext: Julian Phillips
Message 6 of 11 in “git clone problem through HTTP”
  1. Aubrey LiApr 20, 2007
  2. Julian PhillipsApr 20, 2007
  3. Medve Emilian-EMMEDVE1Apr 20, 2007
  4. Aubrey LiApr 20, 2007
  5. Alex RiesenApr 20, 2007
  6. Brian GernhardtApr 20, 2007
  7. Julian PhillipsApr 20, 2007
  8. Junio C HamanoApr 20, 2007
  9. Junio C HamanoApr 20, 2007
  10. Junio C HamanoApr 20, 2007
  11. Aubrey LiApr 22, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.