Re: [PATCH] gpg-interface: Add some output from gpg when it errors out.
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 26, 2017, 18:29 UTC
- Message-ID
- <xmqqh94l65fn.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <20170126025530.r4fesye447do5wdx@glandium.org>
Mike Hommey <mh@glandium.org> writes:
Show 11 quoted lines
>> With that information recorded in the log (or in-code comment, or >> both), if it turns out that some lines with the prefix are useful >> (or some other lines without the prefix are not very useful), they >> can tweak the filtering criteria as appropriate, with confidence >> that they _know_ for what purpose the initial "filter lines with the >> prefix" was trying to serve, and their update is still in the same >> spirit as the original, only executed better. > > Come to think of it, and considering that mutt happily signs emails in > the same conditions, maybe it would make sense to just ignore gpg return > code as long as there is a SIG_CREATED message...
I do not think we want to go there. If GPG reports failure, there is something funny going on.