git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 3/4] Make git-fetch follow tags we already have objects for sooner

From
Daniel Barkalow <barkalow@iabervon.org>
Date
Mar 1, 2008, 16:33 UTC
Message-ID
<alpine.LNX.1.00.0803011127490.19665@iabervon.org>
In-Reply-To
<20080301042510.GW8410@spearce.org>
On Fri, 29 Feb 2008, Shawn O. Pearce wrote:
Show 20 quoted lines
> Daniel Barkalow <barkalow@iabervon.org> wrote:
> > On Fri, 29 Feb 2008, Shawn O. Pearce wrote:
> > 
> > > Junio C Hamano <gitster@pobox.com> wrote:
> > > > This is cute.  Obviously some tests need to be adjusted for this
> > > > change, though.
> > > 
> > > I'll take a look at the current tests this weekend and see what
> > > needs to be adjusted, if anything.  I'd also like to get a few
> > > tests written for this, so we are certain the optimizations are
> > > kicking in when they are supposed to be.
> > 
> > I'd be really grateful if you came up with a good general strategy for 
> > testing that we're not doing too much work in fetching, because clone has 
> > optimizations that I need to test in a similar way, and I haven't been 
> > able to think of anything not horribly intrusive.
> 
> Is this "horribly intrusive" ?
> 
> We can test it with something like this:

That looks suitable to me (although maybe the environment variable should contain the fd to write to?). I also want to know the "have" info, so I can verify that the client is listing things appropriately, but that's an obvious addition.

	-Daniel
*This .sig left intentionally blank*
Previous: Shawn O. PearceNext: Shawn O. Pearce
Message 6 of 7 in “Make git-fetch follow tags we already have objects for sooner”
  1. 3/4 Make git-fetch follow tags we already have objects for soonerShawn O. Pearce, Feb 28, 2008
  2. Junio C HamanoFeb 29, 2008
  3. Shawn O. PearceFeb 29, 2008
  4. Daniel BarkalowFeb 29, 2008
  5. Shawn O. PearceMar 1, 2008
  6. Daniel BarkalowMar 1, 2008
  7. Shawn O. PearceMar 2, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.