From: Junio C Hamano <junkio@cox.net>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] Do not send "want" lines for complete objects
Date: Wed, 19 Oct 2005 21:16:14 -0700 [thread overview]
Message-ID: <7v8xwovn5d.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <Pine.LNX.4.63.0510200559540.3394@wbgn013.biozentrum.uni-wuerzburg.de> (Johannes Schindelin's message of "Thu, 20 Oct 2005 06:08:48 +0200 (CEST)")
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> 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?
You are right. We should be using lookup_object() for this part
of the code.
next prev parent reply other threads:[~2005-10-20 4:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-19 22:07 [PATCH] Do not send "want" lines for complete objects Johannes Schindelin
2005-10-19 23:09 ` Junio C Hamano
2005-10-20 1:16 ` Junio C Hamano
2005-10-20 2:04 ` Johannes Schindelin
2005-10-20 4:08 ` Johannes Schindelin
2005-10-20 4:16 ` Junio C Hamano [this message]
2005-10-20 20:32 ` Daniel Barkalow
2005-10-20 23:16 ` Johannes Schindelin
2005-10-21 0:43 ` Junio C Hamano
2005-10-21 15:44 ` Daniel Barkalow
2005-10-20 1:51 ` Johannes Schindelin
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=7v8xwovn5d.fsf@assigned-by-dhcp.cox.net \
--to=junkio@cox.net \
--cc=Johannes.Schindelin@gmx.de \
--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