Re: [PATCH] Do not call git-rev-list from git-fetch-pack
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Oct 21, 2005, 19:44 UTC
- Message-ID
- <Pine.LNX.4.63.0510212134570.5542@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <7vwtk6vlqz.fsf@assigned-by-dhcp.cox.net>
Hi,
On Fri, 21 Oct 2005, Junio C Hamano wrote:
Show 5 quoted lines
> We send "haves" in order, without 2^n skipping nor binary search > backtrack. Instead, add a logic in upload-pack to see if a > newly arrived "have" is a direct child of anything that we have > already heard about, and mark to ignore them. We need to add > that MAX_HAS counting to fetch-pack side for this to work.
Yes. This makes it more simple, and is very efficient in the common case. How about increasing MAX_HAS to 64?
Adapted patch for fetch-pack coming soon.
Ciao, Dscho