From 8bb62e89e8e7b23fe36a5b747a3c2e460f3c8c6e Mon Sep 17 00:00:00 2001 From: Alexey Yerin Date: Thu, 15 Apr 2021 20:40:17 +0300 Subject: [PATCH] Use "PATCH projectname" in format.subjectPrefix Git formats the subject as following: [subjectprefix] title. Running commands suggested there results in something like this: [git.sr.ht] Fix bug --- gitsrht/templates/send-email-review.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitsrht/templates/send-email-review.html b/gitsrht/templates/send-email-review.html index 05d6346..28923a3 100644 --- a/gitsrht/templates/send-email-review.html +++ b/gitsrht/templates/send-email-review.html @@ -95,7 +95,7 @@ {# TODO: More concise send-email commands, e.g. use HEAD where appropriate #}
git config format.subjectPrefix "{{repo.name}}" # Only necessary once
+    >git config format.subjectPrefix "PATCH {{repo.name}}" # Only necessary once
 git send-email {% if version != 1 %}-v{{version}} {% endif %}{% if cover_letter %}--cover-letter {% endif %}{% if start.parent_ids %}{{start.short_id}}^..{% else %}--root {% endif %}{{end.short_id}}
-- 2.38.4