Re: clone: I'm only doing a max of 256 requests
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Oct 5, 2005, 22:45 UTC
- Message-ID
- <Pine.LNX.4.64.0510051541300.31407@g5.osdl.org>
- In-Reply-To
- <20051005191300.GC17475@hexapodia.org>
On Wed, 5 Oct 2005, Andy Isaacson wrote:
Show 6 quoted lines
> > Trying to do a local clone of the linux-mips.org git repo: > > % git clone /home/adi/linux/git/lmo/linux foo > defaulting to local storage area > fatal: I'm only doing a max of 256 requests
The pack upload has a totally arbitrary limit of 256 heads.
> I got git/lmo/linux from http://www.linux-mips.org/pub/scm/linux.git.
Heh. And:
git ls-remote http://www.linux-mips.org/pub/scm/linux.git | wc -l
returns "295". Seems to have all the old bk history in it.
> Am I doing something wrong, or what?
No, just change the "MAX_NEEDS" define from 256 to some larger value.
There's no real reason for the limit, except that maybe we should have some dynamic allocation for this.
Linus