Re: [PATCH] push: Provide situational hints for non-fast-forward errors
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Mar 16, 2012, 08:19 UTC
- Message-ID
- <vpqzkbh555h.fsf@bauges.imag.fr>
- In-Reply-To
- <7vfwd9kacd.fsf@alter.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
> Oh, wait. Perhaps the advice messages are designed to be declined only by > the user who do understand, so perhaps it is a *good* think that we do not > mention how to squelch in the message. In a twisted way, the logic sort > of makes sense.
I'd be against having a detailed message with the cut-and-paste ready command to decline the message, as the messages would become long and annoying, so people would disable it too early.
But having a short mention like "(to squelch this message, set advice.bla)", short enough not to be disturbing, and vague enough to force people to read the docs.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/