Thread (10 messages) 10 messages, 5 authors, 2023-10-30

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

From: Jeff King <hidden>
Date: 2023-10-30 09:39:22

On Mon, Oct 30, 2023 at 10:30:23AM +0100, Michal Suchánek wrote:
quoted
quoted
On the other hand, option to NOT display those remote messages is also
missing. At least with git 2.35 they are displayed even when -q argument
is given.
That is also up to GitHub to fix on the server side:

  https://lore.kernel.org/git/20230519090559.GA3515410@coredump.intra.peff.net/ (local)
If the server did not reject the push the messages it returns could be
considered informational.
Hmm, yeah, I could perhaps buy that line of argument. Though it's
possible they are "warnings" of the sort that should still be emitted
with "--quiet"; really only the server knows. And note that even "reject
the push" is not necessarily all-or-nothing. The server may accept some
subset of the refs.

But...
Not sure if the final status of the push is available or of the
rejection is only noted in these messages, though.
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).

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help