|
|
|
|
|
by qhwudbebd
700 days ago
|
|
Nice! A couple of thoughts re. your "It's not perfect" which wouldn't add real extra complexity: Using --from with git-format-patch will add the From: header to the commit message body in the standard way when emailing a patch written by someone else, which would allow you to preserve this easily without risking excitement from injection attacks into email headers. Maybe the right behaviour for all-zero $oldsha is to quietly turn format-patch $oldsha..$newsha into format-patch --root $newsha? |
|
From: anonymous <anonymous@http.2001:<…my IP address here…>>
I guess what I really want is Reply-To: being set based on the commit message, but I don't know if git can do that easily.