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

git pull fails with http urls?

From
RPRichard Purdie <rpurdie@rpsys.net>
Date
Sep 4, 2007, 14:10 UTC
Message-ID
<1188915053.5705.12.camel@localhost.localdomain>
I've noticed a problem with pulling http urls. I can clone them fine:
  git clone http://www.gnome.org/~alexl/git/gio.git/
and I can pull with:
  git pull
which works as expected however if I try:
  git pull http://www.gnome.org/~alexl/git/gio.git/
it fails with:
  error: pick-rref: HEAD not found
  No such ref HEAD at http://www.gnome.org/~alexl/git/gio.git/

The HEAD file is there at http://www.gnome.org/~alexl/git/gio.git/HEAD and:

  git pull http://www.gnome.org/~alexl/git/gio.git/ master
works. It seems git just doesn't want to see/understand the HEAD file?

Is the above supposed to work or is something wrong with the above commands? I see this with git 1.5.2.3 and 1.5.3, google suggests this might have worked with 1.4.x and broke in 1.5...

Regards,
Richard
Next: Junio C Hamano
Message 1 of 2 in “git pull fails with http urls?”
  1. Richard PurdieSep 4, 2007
  2. Junio C HamanoSep 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.