summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2017-06-07 16:51:21 -0700
committerEric Anholt <eric@anholt.net>2017-06-12 15:34:29 -0700
commiteeeb304a00166757954ab0ebbbcaa405db8c0aeb (patch)
tree68df7252460bea864d9f16e86b3b9d363a5c2588 /autogen.sh
parentcc9137762cfe05f5508e614c1dcedf3ff9067399 (diff)
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 <eric@anholt.net> Acked-by: Petri Latvala <petri.latvala@intel.com> (v1)
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh3
1 files changed, 3 insertions, 0 deletions
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