Re: [PATCH] run-command.c: Accept EACCES as command not found
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Nov 23, 2011, 12:04 UTC
- Message-ID
- <CACsJy8ATJ33i5YaM-APtUPq_fDkj9=JpKj9pmvqWK2QodgbexQ@mail.gmail.com>
- In-Reply-To
- <CAH6sp9N2ycsoU=is3BVanH33CowD+sMNmWq=Z1MsPJX=HGYY+g@mail.gmail.com>
On Wed, Nov 23, 2011 at 3:17 PM, Frans Klaver <fransklaver@gmail.com> wrote:
Show 5 quoted lines
> If there are no objections, I'm going to cook up a patch that > > - Keeps the current behavior (bail on EACCES) > - Adds a more helpful diagnostic message somewhat like libexplain's, > but more terse and if possible with slightly more domain knowledge
If you print diagnostic messages with trace_printf() and friends (only showed when GIT_TRACE variable is set), then there's no need for being terse.
-- Duy