# recursive alternates with git-http-fetch

1 messages from 2007-06-29 to 2007-06-29. Participants: Kumar Gala.
Thread: https://gitlist.dev/t/8770

## Kumar Gala, 2007-06-29 02:33

Subject: recursive alternates with git-http-fetch
Message-ID: <C78730FE-CF62-4EFE-9EF5-26D3D0315F3B@kernel.crashing.org>
URL: https://gitlist.dev/e/C78730FE-CF62-4EFE-9EF5-26D3D0315F3B%40kernel.crashing.org

```
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

```
