From: Christian Couder Date: Wed, 26 Nov 2025 09:15:31 GMT Subject: Re: What's cooking in git.git (Nov 2025, #08; Tue, 25) Message-ID: In-Reply-To: On Wed, Nov 26, 2025 at 1:39 AM Junio C Hamano wrote: > * cc/fast-import-strip-if-invalid (2025-11-16) 3 commits > - fast-import: add 'strip-if-invalid' mode to --signed-commits= > - commit: refactor verify_commit_buffer() > - fast-import: refactor finalize_commit_buffer() > > "git fast-import" learns "--strip-if-invalid" option to drop > invalid cryptographic signature from objects. > > Will merge to 'next'. > source: <20251117043450.322644-1-christian.couder@gmail.com> Not sure why but you seem to be the author of the "fast-import: add 'strip-if-invalid' mode to --signed-commits=" commit now: $ git cat-file commit 6c723ad30a3f77787e2247f52d62fa462a24cf68 tree 68ab2d63f36af2854b3e49c563bd213fea1357a6 parent cb034c020aba54360e7c19faf82021399bf131e7 author Junio C Hamano 1763355463 -0800 committer Junio C Hamano 1763355463 -0800 fast-import: add 'strip-if-invalid' mode to --signed-commits= Tools like `git filter-repo`[1] use `git fast-export` and `git fast-import` to rewrite repository history. When rewriting history using one such tool though, commit signatures might become invalid because the commits they sign changed due to the changes in the repository history made by the tool between the fast-export and the fast-import steps.