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

Re: please add link / url to remote - when - git push

From
Jeff King <peff@peff.net>
Date
Oct 30, 2023, 09:54 UTC
Message-ID
<20231030095401.GA848451@coredump.intra.peff.net>
In-Reply-To
<20231030094556.GI6241@kitsune.suse.cz>
On Mon, Oct 30, 2023 at 10:45:56AM +0100, Michal Suchánek wrote:
Show 6 quoted lines
> > Yes, this is a problem. Those messages are streamed out as we receive
> > them from the server, and before we get any status report back. I don't
> > think we'd want to buffer them, as they can be arbitrarily large (and
> > may even be progress reports that are meant to be shown in real-time).
> 
> Not when the user asked to not show progress.

Sure, if you make the buffering behavior dependent on the presence of "-q". I guess that is not that hard to do, but it does increase the complexity of the code (you have both a streaming and a buffering code path).

Anyway, I am not all that convinced this is a fruitful path versus just fixing the server side. But if you want to look into writing a patch, go for it.

-Peff
Previous: Michal SuchánekNext: Michal Suchánek
Message 9 of 11 in “please add link / url to remote - when - git push”
  1. Alexander MillsOct 29, 2023
  2. Torsten BögershausenOct 30, 2023
  3. Junio C HamanoOct 30, 2023
  4. Michal SuchánekOct 30, 2023
  5. Jeff KingOct 30, 2023
  6. Michal SuchánekOct 30, 2023
  7. Jeff KingOct 30, 2023
  8. Michal SuchánekOct 30, 2023
  9. Jeff KingOct 30, 2023
  10. Michal SuchánekOct 30, 2023
  11. Taylor BlauOct 30, 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.