diff options
author | Adam Jackson <ajax@redhat.com> | 2015-12-09 09:10:13 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2016-02-08 17:41:38 -0500 |
commit | a722d617a092f08f69086630f5cfb598d4a21cc7 (patch) | |
tree | 1933982aec82969cd98a0cd6bbb2d6b74de88d70 /autogen.sh | |
parent | 7bb64d8c1de9659f11da7917772919b071e9db82 (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>
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 3 |
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 |