Re: Mark remote `gc --auto` error messages
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 2, 2016, 20:14 UTC
- Message-ID
- <CAPc5daXVx1=ptsKJEfEzXbjCNvwYxjAPyp_pob9CeR+Qr3tG_g@mail.gmail.com>
- In-Reply-To
- <146489800609.1944.4398103814754920753@typhoon.lan>
On Thu, Jun 2, 2016 at 1:06 PM, Lukas Fleischer <lfleischer@lfos.de> wrote:
Show 17 quoted lines
> On Thu, 02 Jun 2016 at 21:33:33, Junio C Hamano wrote: >> Lukas Fleischer <lfleischer@lfos.de> writes: >> >> > When running `git push`, it might occur that error messages are >> > transferred from the server to the client. While most messages (those >> > explicitly sent on sideband 2) are prefixed with "remote:", it seems >> > that error messages printed during the automatic householding performed >> > by git-gc(1) are displayed without any additional decoration. Thus, such >> > messages can easily be misinterpreted as git-gc failing locally, see [1] >> > for an actual example of where that happened. >> >> Sounds like a sensible goal to me. > > What exactly are you referring to (you only quoted the introduction)? > Do you think we should fix the git-gc issue but keep the general > behavior of printing messages unaltered? Do you think it would be > worthwhile to make server messages distinguishable in general?
The latter, which I think was what your implementation was attempting to do if I read it correctly.