summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMihail Konev <k.mvc@ya.ru>2017-01-26 13:52:49 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2017-01-26 13:52:49 +1000
commit6a5a93b338d808ce64e55a25f36e047152376418 (patch)
treed4bbab8fa8f73e0215a43243a49dc0a162c009aa
parentb0c56852fd6871c70aa3bd1a29f21ad285f0f332 (diff)
downloadxorg-proto-xf86dgaproto-6a5a93b338d808ce64e55a25f36e047152376418.tar.gz
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..b6c908f 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 xf86dgaproto"
+
if test -z "$NOCONFIGURE"; then
exec "$srcdir"/configure "$@"
fi