From a722d617a092f08f69086630f5cfb598d4a21cc7 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 9 Dec 2015 09:10:13 -0500 Subject: [PATCH] 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 Signed-off-by: Adam Jackson --- autogen.sh | 3 +++ 1 file changed, 3 insertions(+) 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