summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMihail Konev <k.mvc@ya.ru>2017-01-26 14:00:22 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2017-01-26 14:00:22 +1000
commitdec6d18b61a1f8841303572ae5931fe6c937664f (patch)
tree14923e63e9cfd8a62420b66fd3b9ff127b4a92ce
parente67dab498fc7b6b4c73b5c33c550ecfcb814b4b1 (diff)
autogen: add default patch prefix
Signed-off-by: Mihail Konev <k.mvc@ya.ru>
-rwxr-xr-xautogen.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 0006de8..e70da8a 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -9,6 +9,9 @@ cd "$srcdir"
autoreconf -v --install || exit 1
cd "$ORIGDIR" || exit $?
+git config --local --get format.subjectPrefix >/dev/null 2>&1 ||
+ git config --local format.subjectPrefix "PATCH xf86-video-mach64"
+
if test -z "$NOCONFIGURE"; then
exec "$srcdir"/configure "$@"
fi