summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2015-12-09 09:10:13 -0500
committerAdam Jackson <ajax@redhat.com>2016-02-08 17:41:38 -0500
commita722d617a092f08f69086630f5cfb598d4a21cc7 (patch)
tree1933982aec82969cd98a0cd6bbb2d6b74de88d70
parent7bb64d8c1de9659f11da7917772919b071e9db82 (diff)
autogen: Set a default subject prefix for patches
Per discussion at XDC2015, we want this so we can easily distinguish which module a patch is for. There's no way to set this in the server-side config, so setting a default at autogen time is about the best we can do. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Adam Jackson <ajax@redhat.com>
-rwxr-xr-xautogen.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index aee4beba2..4de97bf8e 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -9,6 +9,9 @@ cd "$srcdir"
autoreconf --force -v --install || exit 1
cd "$ORIGDIR" || exit $?
+git config --local --get format.subjectPrefix ||
+ git config --local format.subjectPrefix "PATCH xserver"
+
if test -z "$NOCONFIGURE"; then
exec "$srcdir"/configure "$@"
fi