Personally I'd append the Nonce as a git trailer, not to the message body.
And would keep the date constant rather than use the time of each attempt (such that the only thing that actually varies is the Nonce)
And just for more fun... Nonces should only be prime numbers. Probably won't run out :)
It is a trailer; see the source code, line 100:
message = f"{base_message}\n\ngit-prime Nonce: {attempt}"
I'm not sure whether that's a valid header name, with the space and all, but I remarked on that in another comment already.It is now a proper git trailer, I think.
Could you explain what a git trailer is if not appended to the message body? My understanding is that trailers are just key-value pairs in a particular format at the end of the message; there's not an alternative storage mechanism.
Even so, trailers or message body might be moot - rerolling the committed at timestamp should be sufficient!