Re: [PATCH] Do not send "want" lines for complete objects
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Oct 20, 2005, 04:08 UTC
- Message-ID
- <Pine.LNX.4.63.0510200559540.3394@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <Pine.LNX.4.63.0510200351260.26594@wbgn013.biozentrum.uni-wuerzburg.de>
Hi,
> > + ((o = parse_object(remote)) != NULL) && > > + (o->flags & COMPLETE) &&
I just realized that parse_object() always reads the file, then does a lookup (which makes the above code work), and then parses the file. It always does all of these steps, even if the object was already parsed. Any reason for this?
Ciao, Dscho