Jeff King <peff@xxxxxxxx> writes: > If the user has unset advice.statusHints, we already > suppress the "use git reset to..." hints in each stanza. The > new "use git push to publish..." hint is the same type of > hint. Let's respect statusHints for it, rather than making > the user set yet another advice flag. Sorry, I should have made this in the patch. With or without my suggestion below, Acknowledged-by: Matthieu Moy <Matthieu.Moy@xxxxxxx> > I left "git checkout" alone, though I'd also like to turn it off there, > too. Should it get a separate advice option there? Should it simply > respect statusHints (it seems odd because I know that "status" there > means "git status", not "hints about the status of your repo")? I'd respect the same statusHint indeed. It's the same message, so I think the same category of users will want to disable it. The name "statusHint" may not be the ideal one, but if you see the messages in "git checkout" as an excerpt of "git status", it actually makes sense. As a nice side effect, it also makes the code/patch simpler (no need to add the "advice" argument). -- Matthieu Moy http://www-verimag.imag.fr/~moy/ -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html