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

Wierd git over http behaviour

From
JWJohn Williams <john.williams@petalogix.com>
Date
Feb 20, 2009, 06:13 UTC
Message-ID
<1d3f23370902192213g560020b3h7a2459c1439e5e5c@mail.gmail.com>
Hi,

We have a git tree that accesses fine via the git protocol, however I have also opened up http support for it as some of our users are behind git-unfriendly corporate firewalls.

I know http transport is not encouraged, but not much I can do about that.

Strange thing is, when doing an http fetch of said tree, it gets no updates to the tree later than about Jan 13 this year, even though the tree itself has many, many commits since then (its origin is Linus's tree and we pull regularly). Heads created later than that date are also not visible (doing git branch -a) in the clone pulled over http. Clones made using git: are fine.

Anything I can look for in the .git repo on the server, permissions or similar that might be relevant? It's almost like there's a single commit in there that somehow is making the http fetch puke. If you browse the http tree with a web browser, it's all there as expected.

For reference here are the URLs:
git://developer.petalogix.cmo/linux-2.6-microblaze
http://developer.petalogix.com/git2/linux-2.6-microblaze

Initially the http reference was a symlink on the server to the actual git tree, but I also tried just rsync'ing it across to /var/www/html/git2 to make sure it wasn't the symlink breaking things - no change.

Am I misunderstanding something or is this just flakey behaviour of the http protocol support?

Thanks,
John
Next: Junio C Hamano
Message 1 of 4 in “Wierd git over http behaviour”
  1. John WilliamsFeb 20, 2009
  2. Junio C HamanoFeb 20, 2009
  3. John WilliamsFeb 24, 2009
  4. Sverre RabbelierFeb 20, 2009

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.