snippets: Harden for review activity.
authorLiliana Marie Prikler <liliana.prikler@gmail.com>
Sat, 22 Oct 2022 12:05:44 +0000 (14:05 +0200)
committerLiliana Marie Prikler <liliana.prikler@gmail.com>
Sat, 22 Oct 2022 12:16:13 +0000 (14:16 +0200)
commit85aff4de30686359ffb50845eb0930c0a18dc8ba
tree42c9c30ca0534694f59ed19028b6092e9ed89f60
parent28270e1e039b6e05bf7a17b9b660801df2d588bd
snippets: Harden for review activity.

When reviewing patches, whose commit logs don't follow the structure outlined
in “Submitting Patches”, a reviewer might be tempted to use snippets to
rewrite them.  This makes it so that their attempt, while not immediately
succeeding, isn't completely thwarted.

* etc/snippets/tempel/text-mode (add\ , remove\ , rename\ , update\ )
(addcl\ , https\ ): Use an empty "p" field if (car (magit-staged-files))
fails.
etc/snippets/tempel/text-mode