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

Re: [PATCH] revision: Don't queue uninteresting commits

From
Øystein Walle <oystwa@gmail.com>
Date
Nov 6, 2023, 11:28 UTC
Message-ID
<CAFaJEqtN0b+Prv79E2=sODaw8vRVGD-Ane7U+WzoFoTWkvCNkA@mail.gmail.com>
In-Reply-To
<xmqqpm1lnme4.fsf@gitster.g>
Hi, Junio, and sorry for the late response.
On Wed, 11 Oct 2023 at 18:40, Junio C Hamano <gitster@pobox.com> wrote:
Show 5 quoted lines
> What is not described here is what benefit we are expecting to gain
> by making this change.  Is anything leaking?  Are we showing wrong
> output?  Is the effect something we can demonstrate, and more
> importantly we can protect from future breakages, with a test or
> two?

As far as I know there is no significant benefit to this change. The only one I can think of is a case such as this:

    git rev-list some-rev ^a ^very ^large ^amount ^of ^negative ^revs ^here

but even then I would assume the work done by the algorithm in total is so large that the work saved by this change is insignificant.

I was just a bit happy after grokking a piece of this code and let the excitement get the best of me :-) I suggest we just drop it.

Øsse
Previous: Junio C Hamano
Message 3 of 3 in “revision: Don't queue uninteresting commits”
  1. revision: Don't queue uninteresting commitsØystein Walle, Oct 11, 2023
  2. Junio C HamanoOct 11, 2023
  3. Øystein WalleNov 6, 2023

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.