Write the PR attachment with rake diff[patch], in git format-patch form

rake diff now gives what git format-patch would: the mail header of the
latest commit touching the port, a diffstat, the diff and git's signature, so
the patch applies with git am and keeps the author. For a new port it adds
the SUBDIR line to the category Makefile, which no commit here can carry. The
two sides are diffed as trees in a throwaway repository rather than with git
diff --no-index, whose absolute paths the diffstat abbreviates. Printed to a
terminal it is colored as git's settings say; rake diff[patch] refuses to run
with uncommitted changes. add-port and update-port now attach it instead of
git format-patch output.

CI: no
Friday, 23-Oct-26 14:53:42 PDT