From eeeb304a00166757954ab0ebbbcaa405db8c0aeb Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 7 Jun 2017 16:51:21 -0700 Subject: Make autogen.sh set the default format.subjectPrefix CONTRIBUTING requests that people do this, but it's a lot easier if we just set it up by default for them. v2: Update CONTRIBUTING about this happening (suggested by Petri). Signed-off-by: Eric Anholt Acked-by: Petri Latvala (v1) --- autogen.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'autogen.sh') diff --git a/autogen.sh b/autogen.sh index ec633f3e..53df7525 100755 --- a/autogen.sh +++ b/autogen.sh @@ -16,6 +16,9 @@ fi autoreconf -v --install || exit 1 cd $ORIGDIR || exit $? +git config --local --get format.subjectPrefix >/dev/null 2>&1 || + git config --local format.subjectPrefix "PATCH i-g-t" + if test -z "$NOCONFIGURE"; then $srcdir/configure "$@" fi -- cgit v1.2.3