This seems like something that would be more appropriate to put on a "getting started" page than autogen.sh. The very last thing I (as a user of it) would expect autogen.sh to do is monkey with my git config; local or otherwise.

On April 24, 2017 6:16:14 PM Emil Velikov <[email protected]> wrote:

From: Emil Velikov <[email protected]>

To ease patch submission process a tiny bit.

Cc: Ben Widawsky <[email protected]>
Suggested-by: Ben Widawsky <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
---
 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 "[email protected]" 2>/dev/null
+
 autoreconf --force --verbose --install || exit 1
 cd "$ORIGDIR" || exit $?

--
2.12.2

_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to