Re: [PATCH 0/4] Expose gpgsig in pretty-print
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 15, 2018, 00:26 UTC
- Message-ID
- <xmqqa7l7d48r.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <1544760713.970.1.camel@gentoo.org>
Michał Górny <mgorny@gentoo.org> writes:
Show 7 quoted lines
> Just a suggestion: since the raw signature is not very useful without > the commit data to check it against, and the commit data is non-trivial > to construct (requires mangling raw data anyway), maybe you could either > add another placeholder to get the data for signature verification, or > (alternatively or simultaneously) add a placeholder that prints both > data and signature in the OpenPGP message format (i.e. something you can > pass straight to 'gpg --verify').
Yeah, the last would be the most usable; anything short of that, I have to suspect that going from "cat-file commit", rather than using this new %Gsomething placeholder, would be more practical.