~edwargix/git.sr.ht

8bb62e89e8e7b23fe36a5b747a3c2e460f3c8c6e — Alexey Yerin 3 years ago 9079966
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
1 files changed, 1 insertions(+), 1 deletions(-)

M gitsrht/templates/send-email-review.html
M gitsrht/templates/send-email-review.html => gitsrht/templates/send-email-review.html +1 -1
@@ 95,7 95,7 @@
    {# TODO: More concise send-email commands, e.g. use HEAD where appropriate #}
    <pre
      style="margin-bottom: 0;"
    >git config format.subjectPrefix "{{repo.name}}" <span class="text-muted"># Only necessary once</span>
    >git config format.subjectPrefix "PATCH {{repo.name}}" <span class="text-muted"># Only necessary once</span>
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}}</pre>
  </div>
  <div class="event-list">