[PATCH xserver] autogen: Set a default subject prefix for patches

Adam Jackson ajax at redhat.com
Wed Dec 9 06:13:15 PST 2015


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.

Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 autogen.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/autogen.sh b/autogen.sh
index aee4beb..4b1b523 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -12,3 +12,6 @@ cd "$ORIGDIR" || exit $?
 if test -z "$NOCONFIGURE"; then
     exec "$srcdir"/configure "$@"
 fi
+
+git config --local --get format.subjectPrefix ||
+    git config --local format.subjectPrefix "PATCH xserver"
-- 
2.5.0



More information about the xorg-devel mailing list