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
commitbbac7d201e78e2837e418baa3e0d16a475469c3b (patch)
tree0c1a06e36bb20d9f634d7af75769cc022cc5e4c3
parent84785447ba88a93cd1c2e3edbba7bdf11e37e7b5 (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..c10b82f 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/xdpyinfo"
+
if test -z "$NOCONFIGURE"; then
exec "$srcdir"/configure "$@"
fi