Subject: Re: [PATCH v3 0/3] fast-import: add mode to re-sign invalid commit signatures

From: Junio C Hamano <[email-masked]>
Date: Tue, 10 Mar 2026 15:39:34 -0700

Justin Tobler <[email-masked]> writes:

> This certainly seems like a reasonable use case, but if we want to
> support leaving previously unsigned objects unsigned too,
> `--signed-commits=strip-if-invalid --signed-commits` wouldn't be
> granular enough.

Yes, --signed-commits=(re-)sign-if-invalid is a perfect match for
that use case.  I am just saying that if you add the machinery
needed to re-sign, you would be able to reuse it to sign objects
that weren't signed in the first place, so that is wherea yet
another feature "--sign-commits=all" may fit.