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

Re: What's cooking in git.git (May 2019, #04; Tue, 28)

From
Jeff King <peff@peff.net>
Date
May 30, 2019, 11:51 UTC
Message-ID
<20190530115122.GA31607@sigill.intra.peff.net>
In-Reply-To
<xmqqlfypyzfr.fsf@gitster-ct.c.googlers.com>
On Wed, May 29, 2019 at 09:53:44AM -0700, Junio C Hamano wrote:
Show 16 quoted lines
> >> * ds/object-info-for-prefetch-fix (2019-05-28) 1 commit
> >>  - sha1-file: split OBJECT_INFO_FOR_PREFETCH
> >> 
> >>  Code cleanup.
> >> 
> >>  Will merge to 'next'.
> >
> > I think this one is actually a bug-fix (we are refusing to prefetch for
> > "QUICK" calls even though was not the intent), and it is new in this
> > release.
> >
> > I'm not sure of the user-visible impacts, though. There are a lot of
> > QUICK calls, and I'm not sure for which ones it is important to fetch.
> 
> Hmph.  I took it as primarily futureproofing, as I didn't find a way
> to trigger bad behaviour from within the current codebase.

Hmm. Looking over the uses of OBJECT_INFO_QUICK, they all seem to be in either index-pack or as part of a fetch operation. And in both of those cases, we'd disable the whole feature anyway with fetch_if_missing.

So I _think_ you are right, and there isn't a way to trigger it.
-Peff
Previous: Junio C HamanoNext: Johannes Schindelin
Message 4 of 11 in “What's cooking in git.git (May 2019, #04; Tue, 28)”
  1. Junio C HamanoMay 28, 2019
  2. Jeff KingMay 28, 2019
  3. Junio C HamanoMay 29, 2019
  4. Jeff KingMay 30, 2019
  5. Johannes SchindelinMay 30, 2019
  6. Derrick StoleeMay 30, 2019
  7. ab/send-email-transferencoding-fix, was Re: What's cooking in git.git (May 2019, #04; Tue, 28)Johannes Schindelin, May 29, 2019
  8. Ævar Arnfjörð BjarmasonMay 29, 2019
  9. Junio C HamanoMay 29, 2019
  10. Johannes SchindelinMay 29, 2019
  11. Junio C HamanoMay 29, 2019

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.