From: Emil Velikov <[email protected]>

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

Cc: Peter Hutterer <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
---
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 "[email protected]"
+
 git config --local --get format.subjectPrefix >/dev/null 2>&1 ||
     git config --local format.subjectPrefix "PATCH util/macros"
 
-- 
2.11.0

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to