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

Re: [PATCH] revision: drop early output option

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 21, 2025, 16:28 UTC
Message-ID
<xmqqjz41zey1.fsf@gitster.g>
In-Reply-To
<20250719070813.GA706382@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 13 quoted lines
> We added the --early-output feature long ago in cdcefbc971 (Add
> "--early-output" log flag for interactive GUI use, 2007-11-03). The idea
> was that GUIs could use it to progressively render a history view,
> showing something quick-and-inaccurate at first and then enhancing it
> later.
>
> But we never documented it, and it appears never to have been used, even
> by the projects which initially expressed interest. There was an RFC
> patch for gitk to use it:
>
>   http://public-inbox.org/git/18221.2285.259487.655684@cargo.ozlabs.ibm.com/
>
> but it was never merged.
Ah, that one I remember.
Show 10 quoted lines
> So let's drop the feature. It is extra code that is untested and
> undocumented, and makes working on the revision machinery more brittle.
>
> Given the history above, it seems unlikely that anybody is using it (or
> has used it), and we can drop it without the usual deprecation period.
>
> A gentler option might be to "soft" drop it: keep accepting the option,
> have it imply --topo-order as it does now, print "Final output: 1 done",
> and then do our regular traversal. That would keep any hypothetical
> caller working. But it doesn't seem worth the hassle to me.
True.

The safety of dropping of it (instead of fixing) relies on it not being used at all, so using that same assumption that nobody even attempts to use it by passing the option, would be a sensible thing to do.

Will queue.  Thanks.
Previous: Jeff King
Message 2 of 2 in “revision: drop early output option”
  1. revision: drop early output optionJeff King, Jul 19, 2025
  2. Junio C HamanoJul 21, 2025

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.