Git development
 help / color / mirror / Atom feed
From: Kumar Gala <galak@kernel.crashing.org>
To: git@vger.kernel.org
Subject: recursive alternates with git-http-fetch
Date: Thu, 28 Jun 2007 21:33:59 -0500	[thread overview]
Message-ID: <C78730FE-CF62-4EFE-9EF5-26D3D0315F3B@kernel.crashing.org> (raw)

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

                 reply	other threads:[~2007-06-29  2:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C78730FE-CF62-4EFE-9EF5-26D3D0315F3B@kernel.crashing.org \
    --to=galak@kernel.crashing.org \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox