Re: [PATCH] gpg-interface: fail when the ssh revocation file is missing
- From
- Christian Noé Ramos López <chris@nortesoftware.dev>
- Date
- Nov 13, 2026, 23:25 UTC
- Message-ID
- <20261113232552.1325109-1-chris@nortesoftware.dev>
- In-Reply-To
- <xmqqa4o6oq1y.fsf@gitster.g>
Junio C Hamano <gitster@pobox.com> writes:
> By the way, it is not a problem this patch introduces, but the > comment at the end of this block is a bit misleading.
Agreed. v3 replaces it with one comment at the top of the block, which says check-novalidate runs there only to display the signature info.
> I wonder if we should be able to somehow fold this into the earlier > "if()" block, making it the single place that deals with failures?
Yes, that is better, and v3 does it: with the file missing, a known key gets the error and then its signature info, as an unknown key does, and %G? gives "U" for both.
v2 went out as a reply to this message instead of to v1; v3 will be a reply to v1.