git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: What's cooking in git.git (Nov 2025, #08; Tue, 25)

From
Christian Couder <christian.couder@gmail.com>
Date
Nov 26, 2025, 09:15 UTC
Message-ID
<CAP8UFD3BfcvRYA85Pp5L66Mqjx7A4AoxKZNkw2OFXqyWwBoViA@mail.gmail.com>
In-Reply-To
<xmqqo6oppqyt.fsf@gitster.g>
On Wed, Nov 26, 2025 at 1:39 AM Junio C Hamano <gitster@pobox.com> wrote:
Show 10 quoted lines
> * cc/fast-import-strip-if-invalid (2025-11-16) 3 commits
>  - fast-import: add 'strip-if-invalid' mode to --signed-commits=<mode>
>  - 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=<mode>" commit now:

$ git cat-file commit 6c723ad30a3f77787e2247f52d62fa462a24cf68 tree 68ab2d63f36af2854b3e49c563bd213fea1357a6 parent cb034c020aba54360e7c19faf82021399bf131e7 author Junio C Hamano <gitster@pobox.com> 1763355463 -0800 committer Junio C Hamano <gitster@pobox.com> 1763355463 -0800

fast-import: add 'strip-if-invalid' mode to --signed-commits=<mode>

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.

Previous: Junio C HamanoNext: Junio C Hamano
Message 2 of 4 in “What's cooking in git.git (Nov 2025, #08; Tue, 25)”
  1. Junio C HamanoNov 26, 2025
  2. Christian CouderNov 26, 2025
  3. Junio C HamanoNov 26, 2025
  4. Junio C HamanoNov 26, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.