diff options
-rw-r--r-- | autogen.rc | 1 | ||||
-rwxr-xr-x | autogen.sh | 1 | ||||
-rw-r--r-- | doc/HACKING | 14 |
3 files changed, 12 insertions, 4 deletions
@@ -1,6 +1,7 @@ # autogen.sh configuration for libgpg-error -*- sh -*- display_name="Libgpg-error" +patches_to="gnupg-devel@gnupg.org" version_parts=2 @@ -469,6 +469,7 @@ EOF chmod +x .git/hooks/commit-msg if [ x"${display_name}" != x ]; then git config format.subjectPrefix "PATCH ${display_name}" + git config sendemail.to "${patches_to}" fi fi fi diff --git a/doc/HACKING b/doc/HACKING index d379099..33b56d5 100644 --- a/doc/HACKING +++ b/doc/HACKING @@ -57,18 +57,24 @@ - if you're working from the git repo, here's a suggested workflow: + - configure git send-email defaults: + + git config format.subjectPrefix 'PATCH libgpg-error' + git config sendemail.to gnupg-devel@gnupg.org + + Note that running ./autogen.sh on a fresh clone will do this for + you. + - hack hack hack - commit your changes; group changes into easily-reviewable commit units, feel free to submit several patches at once - e.g. if you want to submit a single patch on top of master, do: - git send-email --to=gnupg-devel@gnupg.org --annotate -1 - (please put a mention of libgpg-error into the subjects, - annotate lets you do that) + git send-email --annotate -1 - e.g. if you have two commits on top of master, do: - git send-email --to=gnupg-devel@gnupg.org --annotate --cover-letter -2 + git send-email --annotate --cover-letter -2 (that prompts you for a summary mail to precede your actual patch mails) |