autogen: add default patch prefix
authorMihail Konev <k.mvc@ya.ru>
Thu, 26 Jan 2017 04:00:21 +0000 (14:00 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Thu, 26 Jan 2017 04:43:10 +0000 (14:43 +1000)
Signed-off-by: Mihail Konev <k.mvc@ya.ru>
autogen.sh

index b08bc83..f9fc247 100755 (executable)
@@ -6,4 +6,8 @@ test -n "$srcdir" || srcdir=.
   cd "$srcdir" &&
   autoreconf --force -v --install
 ) || exit
+
+git config --local --get format.subjectPrefix >/dev/null 2>&1 ||
+    git config --local format.subjectPrefix "PATCH libinput"
+
 test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"