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
commit5383f408b1138913fd6d7d94da70f63bed711857 (patch)
treef8a6b999df1962728519b11926e5057a342ef7bf
parent27eb7660e2b186c7a4c84ccab14631f5a8d5b571 (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..a6c187c 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/xditview"
+
if test -z "$NOCONFIGURE"; then
exec "$srcdir"/configure "$@"
fi