recursive alternates with git-http-fetch
- From
- Kumar Gala <galak@kernel.crashing.org>
- Date
- Jun 29, 2007, 02:33 UTC
- Message-ID
- <C78730FE-CF62-4EFE-9EF5-26D3D0315F3B@kernel.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