[PATCH util/macros 2/2] autogen.sh: set sendemail.to as applicable

Emil Velikov emil.l.velikov at gmail.com
Thu Jan 26 17:48:10 UTC 2017


From: Emil Velikov <emil.velikov at collabora.com>

Similar to the patch subject prefix we might as well handle the
sendemail setting.

Cc: Peter Hutterer <peter.hutterer at who-t.net>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
Here is another couple of patches that might be good to have tree-wide.
1/2 might be picky depending on how funny git decides to be.
---
 autogen.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/autogen.sh b/autogen.sh
index fe4d322..2a02ae4 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -6,6 +6,9 @@ test -z "$srcdir" && srcdir=.
 ORIGDIR=`pwd`
 cd "$srcdir"
 
+git config --local --get sendemail.to >/dev/null 2>&1 ||
+    git config --local sendemail.to "xorg-devel at lists.x.org"
+
 git config --local --get format.subjectPrefix >/dev/null 2>&1 ||
     git config --local format.subjectPrefix "PATCH util/macros"
 
-- 
2.11.0



More information about the xorg-devel mailing list