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

Re: v2.22.1 and later regression wrt display of progress indicators

From
Jeff King <peff@peff.net>
Date
Aug 22, 2019, 17:04 UTC
Message-ID
<20190822170435.GA26163@sigill.intra.peff.net>
In-Reply-To
<20190822164032.GF20404@szeder.dev>
On Thu, Aug 22, 2019 at 06:40:32PM +0200, SZEDER Gábor wrote:
Show 7 quoted lines
> > Yes, we moved to v2.22.1 last night. I'll revert those commits on our
> > servers until we come up with a more permanent solution upstream.
> 
> I think it's sufficient to revert only 5b12e3123b (progress: use
> term_clear_line(), 2019-06-24).  I only mentioned cd1096b282 here
> because it better explains the reasons for having term_clear_line(),
> and an other patch depends on that function as well.

Yes, that's what we did. :) It's out now, so everybody should see the fix.

Show 6 quoted lines
> > One interesting bit: we have traditionally used \033[K on the _client_
> > side of the sideband demuxer. So I think in the "remote:" case we were
> > already handling this correctly, even before your patch.
> 
> Gah, I feared that the term "sideband multiplexer" will soon come up
> in this discussion...
It may open up some new options for us, though.

If we know on the server side that we are serving a remote request (which is easy, and does not require client cooperation), can we assume that the other side will show any sideband lines with its own end-of-line clearing?

I'm not sure. Git does and always has (and even on a dumb terminal makes a token effort at throwing some spaces in ;) ). But I'm not sure if other clients do (and they of course might not even be displaying to a terminal at all, if they're pulling sideband data into a GUI dialog or similar).

-Peff
Previous: SZEDER GáborNext: Taylor Blau
Message 5 of 11 in “v2.22.1 and later regression wrt display of progress indicators”
  1. Charles DizaAug 22, 2019
  2. SZEDER GáborAug 22, 2019
  3. Jeff KingAug 22, 2019
  4. SZEDER GáborAug 22, 2019
  5. Jeff KingAug 22, 2019
  6. Taylor BlauAug 22, 2019
  7. 0/2 Revert "progress: use term_clear_line()"SZEDER Gábor, Sep 16, 2019
  8. 1/2 Revert "progress: use term_clear_line()"SZEDER Gábor, Sep 16, 2019
  9. 2/2 Test the progress displaySZEDER Gábor, Sep 16, 2019
  10. Jeff KingOct 2, 2019
  11. Taylor BlauAug 22, 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.