git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* HTTP redirection with git-clone/git-fetch ?
@ 2005-11-09 22:31 Josef Weidendorfer
  2005-11-10  0:24 ` Nick Hengeveld
  0 siblings, 1 reply; 4+ messages in thread
From: Josef Weidendorfer @ 2005-11-09 22:31 UTC (permalink / raw)
  To: git

Hi,

git-clone fails silently with a HTTP URL where the server
responds with a redirection (ie. header line "Location:...").
I tried to add "-L" to the curl command line in git-clone.sh,
but this is only half of a fix. Afterwards I get:

defaulting to local storage area
error: Couldn't get http://repo/project.git/refs/heads/origin for heads/origin
Failed writing body
error: Could not interpret heads/origin as something to pull

This seems because git-fetch should understand redirections, too.
I am not familiar to the curl API. So perhaps another one can try to
fix this?

Josef

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-11-11 17:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-09 22:31 HTTP redirection with git-clone/git-fetch ? Josef Weidendorfer
2005-11-10  0:24 ` Nick Hengeveld
2005-11-10 13:09   ` Josef Weidendorfer
2005-11-11 17:38     ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).