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

Re: git push --quiet is not quiet

From
Jeff King <peff@peff.net>
Date
Jun 6, 2023, 01:57 UTC
Message-ID
<20230606015721.GA89456@coredump.intra.peff.net>
In-Reply-To
<ZH3IufbB/mJBBKsv@nand.local>
On Mon, Jun 05, 2023 at 07:36:25AM -0400, Taylor Blau wrote:
Show 7 quoted lines
> I mentioned this to the team that is working on spokes-receive-pack, and
> they have graciously implemented support for the quiet capability here:
> 
>   https://github.com/github/spokes-receive-pack/pull/49
> 
> Hopefully that gets merged and rolled out soon, at which point I think
> we can call it a day here.

Ah, cool, I didn't realize the implementation was open source. That pull request looks like what I'd expect (from my obviously brief look at the code).

I wondered that it did not pass along any kind of "quiet" designation to the hooks (who might want to be less chatty in that case). But it doesn't look like git-receive-pack does, either. So at least spokes-receive-pack will be on par with git.git. :)

I do think it would be a potentially useful feature for receive-pack to pass on the information that it got a "quiet" capability request from the client (probably through the environment). But if people aren't complaining about it, it's probably not a high priority. The only discussion I could find was this thread from a few years ago:

  https://lore.kernel.org/git/ba70b25b-906c-0117-2594-c606595c6816@redhat.com/

but it didn't result in a patch (the code change itself is probably a one-liner setenv(), but we'd want documentation, tests, etc).

-Peff
Previous: Taylor Blau
Message 7 of 7 in “git push --quiet is not quiet”
  1. Hanno BöckMay 19, 2023
  2. Kristoffer HaugsbakkMay 19, 2023
  3. Jeff KingMay 19, 2023
  4. Hanno BöckMay 19, 2023
  5. Jeff KingMay 19, 2023
  6. Taylor BlauJun 5, 2023
  7. Jeff KingJun 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.