summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMihail Konev <k.mvc@ya.ru>2017-01-26 13:52:48 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2017-01-26 13:52:48 +1000
commit6d760eb116b4efd92ddba902fb9cb52f72f81da7 (patch)
tree1f01e8c335f979a6bd5c4eec95ad02e16ef615c0
parent3057bb8db057aaf13f87237f7fe78e5e2543c60a (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..4b784fb 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 presentproto"
+
if test -z "$NOCONFIGURE"; then
exec "$srcdir"/configure "$@"
fi