[Mesa-dev] [PATCH] autogen.sh: set default sendemail.to

Emil Velikov emil.l.velikov at gmail.com
Mon Apr 24 16:10:17 UTC 2017


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

To ease patch submission process a tiny bit.

Cc: Ben Widawsky <ben at bwidawsk.net>
Suggested-by: Ben Widawsky <ben at bwidawsk.net>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 autogen.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/autogen.sh b/autogen.sh
index c8960971d24..d178880b407 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 ||
+    git config --local sendemail.to "mesa-dev at lists.freedesktop.org" 2>/dev/null
+
 autoreconf --force --verbose --install || exit 1
 cd "$ORIGDIR" || exit $?
 
-- 
2.12.2



More information about the mesa-dev mailing list