From: Junio C Hamano Date: Thu, 10 Sep 2026 19:54:21 GMT Subject: Re: [PATCH v4 2/3] advice: introduce advice scoping mechanism Message-ID: In-Reply-To: <20260910190345.GA903701@coredump.intra.peff.net> Jeff King writes: > I kind of wonder if _all_ advice should just say "--global". I cannot > think of an advice flag that is really repo specific. They are about > silencing extra help because the _user_ understands the situation and > wants Git to be less chatty. I think there are two things in play. * If applicability of a piece of advice depends on the workflow employed, and a user who works on multiple projects that use different workflows, set of advice messages may want to be squelched per project, hence "--global" may not be appropriate. * "I, a physical single person, understand this piece of advice" is inherently per user, so squelching a piece of advice that the physical single person understands globally may make sense very well. In hindsight, the latter argument should have been given more weight, but I think the primary thinking back when we designed the customizable advice messages was instead the former.