On Sun Jul 6, 2025 at 5:37 AM CEST, Jeff King wrote: > I don't have any opinion on the feature itself, but the plumbing way to > do it would perhaps be: > > # make some vanilla commit... > git commit -m foo && > > # make a new variant with the change id > commit=$( > git cat-file commit HEAD | > perl -lpe 'print "change-id foo" unless length' | > git hash-object -w --stdin -t commit > ) && > > # replace the old one > git update-ref HEAD $commit Thanks! I'll incorporate this into the tests in the next patch version after some further discussion.
Attachment:
42F3F1862E3CC4B8.asc
Description: application/pgp-keys
Attachment:
signature.asc
Description: PGP signature