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

index ad653cdf8b5b68eb2a17c53bda3f749cc63b00c1..0dc0324cc124029cbcd0d67eaeba9000265d5a15 100755 (executable)
@@ -9,4 +9,8 @@ cd "$srcdir"
 autoreconf -fvi || exit $?
 
 cd "$olddir"
+
+git config --local --get format.subjectPrefix >/dev/null 2>&1 ||
+    git config --local format.subjectPrefix "PATCH libevdev"
+
 test -n "$NOCONFIGURE" || exec "$srcdir"/configure "$@"