threads / discuss / 8770

recursive alternates with git-http-fetch

Subject: recursive alternates with git-http-fetch

## tl;dr

One message between Jun 29, 2007 and Jun 29, 2007.

replies: 0people: 1as markdown or json

Kumar Gala· Jun 29, 2007, 02:33 UTC · lore

Is there a reason that git-http-fetch doesn't handle recursive alternates?

We have the following setup
my powerpc.git has an alternate that looks like:
/pub/scm/linux/kernel/git/paulus/powerpc.git/objects
paulus's has an alternate that looks like:
/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/objects

However git-http-fetch does get the 'torvalds' alternate and ends up having issues. You get something like the following:

error: Unable to find 060a71d41ad7ccc3214065a182e6f67568420071 under http://www.kernel.org/pub/scm/linux/kernel/git/galak/powerpc.git/ Cannot obtain needed blob 060a71d41ad7ccc3214065a182e6f67568420071 while processing commit 7b7a57c77dccddd84b6aa02a38deee7ad97c977a.

(Note, I've set my alternates to point to both paulus/powerpc.git and torvalds/linux-2.6.git to make things work for people).

- k

← back to recent threads