summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMihail Konev <k.mvc@ya.ru>2017-01-26 14:00:21 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2017-01-26 14:00:21 +1000
commit41b3ad04db4f9fdcf2705445a28c9cceecf6d980 (patch)
tree4da9cbf74914f23e0aa2b0c1afc2f6063f654eb8
parent9ba4eb9dac7301d88c0ba5c0652043408f2df797 (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..1e44fcf 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 app/xset"
+
if test -z "$NOCONFIGURE"; then
exec "$srcdir"/configure "$@"
fi