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

Re: git clone over http

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 4, 2007, 17:29 UTC
Message-ID
<7vir6qnxuh.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<1188924876.6192.21.camel@beauty>
"Josh England" <jjengla@sandia.gov> writes:
Show 12 quoted lines
> On Sun, 2007-09-02 at 11:23 +0200, Robin Rosenberg wrote:
>> git clone (1.5.3) with http is somewhat unreliable. I've noticed if
>> can actually give
>> me different versions of a branch each time I run it, eventually yielding
>> the one I'm expecting.  And now this:
>
> I don't see this behavior, but I do see other wierdness cloning via
> http.  Anytime I clone a repo (any repo) via http from behind the
> firewall/proxy at work I never get any branches.  'git branch' only ever
> shows 'master'.  I can't checkout and work on any other branch.  I can
> work around the problem by cloning on a box that is more open, but was
> wondering if anyone knows how to fix this.
Well, what does "git branch -r" say?

If you see the remote tracking branches out of your branch (aka "heads/") namespace, that has been the default for quite some time since 1.5.0 days.

Perhaps "more open" one has ancient git that dumped remote tracking branches in your branch namespace, while your "behind firewall" one has not so ancient git?

Previous: Josh EnglandNext: Robin Rosenberg
Message 4 of 5 in “git clone over http”
  1. Robin RosenbergSep 2, 2007
  2. SeanSep 2, 2007
  3. Josh EnglandSep 4, 2007
  4. Junio C HamanoSep 4, 2007
  5. Robin RosenbergSep 4, 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.