From: Junio C Hamano Date: Wed, 11 Dec 2019 22:07:45 GMT Subject: Re: [PATCH 6/6] hook: teach --porcelain mode Message-ID: In-Reply-To: <20191211220039.GB8464@google.com> Emily Shaffer writes: >> So, a Porcelain script cannot learn where the hook command comes >> from, > > Not as I had envisioned. > >> or what the precedence order of each line of the output is? >> > > They're printed in the order they should be executed; the explicit order > isn't provided. > > > I suppose I had considered really just the one use case listed in the > commit message, especially since other inquiry into the hooks to be run > can be done against the config files themselves. But - I'm of course > open to use cases. What did you have in mind? A tool to diagnose why the hooks are not firing in the order the user intended them to, for example? Or a tool to help editing the list of hooks.