Hi Junio, On Thu, 19 Nov 2020, Junio C Hamano wrote: > Johannes Schindelin writes: > > > On Wed, 18 Nov 2020, Junio C Hamano wrote: > > > >> Ævar Arnfjörð Bjarmason writes: > >> > >> > P.S.: Shouldn't the pull patch in d18c950a69f be using the advice > >> > facility, not warning()? > >> > >> I think warning() is the right thing here, as it is self squelching. > >> Setting pull.rebase (even to 'false') is sufficient---there is no > >> need to set advise.setpullrebase to 'false' on top. > > > > Right. The only reason to use `advise()` would be to allow users to > > squelch the warning by setting `advice.*`. > > > > On the other hand, warnings are not colored, but advice messages are. > > > > And now I realize that the same holds for `init.defaultBranch`: it is also > > self-squelching. And it also might benefit from the coloring to make it > > stand out a bit. > > > > Thoughts? > > I do not see colors well. You'll always get "find some other way to > make it stand out more to those like us---if you canhdo so without > colors, that would be ideal" from me, so please don't ask me to vote > for more colors. From a purely selfish point of view: colors _do_ serve me well. And from a maintainer's point of view: I added my share of coloring based on users' feedback, so I think that even if it does not benefit everybody equally well, it is valuable to add coloring where helpful. As to the aspect "find some other way to make it stand out", I believe that `advise()` addresses that _also_, by virtue of prefixing the lines with the uniform `hint:` prefix (which stands out visually, at least to me, maybe it also does that for you?). Ciao, Dscho