From: Johannes Schindelin Date: Thu, 20 Oct 2005 04:08:48 GMT Subject: Re: [PATCH] Do not send "want" lines for complete objects Message-ID: In-Reply-To: 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