Re: [PATCH v4 0/1] ref-filter: add new "signature" atom
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 26, 2023, 21:07 UTC
- Message-ID
- <xmqqmt65atu1.fsf@gitster.g>
- In-Reply-To
- <20230116173814.11338-1-nsengiyumvawilberforce@gmail.com>
Nsengiyumva Wilberforce <nsengiyumvawilberforce@gmail.com> writes:
> iv) I also moved check_commit_signature(commit, &sigc) out of the > to avoid running GPG twice.still this change is in grab_signature() > in ref-filter.c.
Is there some code to avoid calling check_commit_signature() or grab_signature() itself when no %(signature) atoms is used? When nobody asked to use signature atom at all, calling GPG once is already once too many.
Thanks.