Added new patch to support linux windowlessmode (required for Qt5 browsers)

This commit is contained in:
Sebastian Lackner
2013-12-22 00:38:52 +01:00
parent 7b41306c4b
commit c1dccff70a
4 changed files with 59 additions and 1 deletions

13
precommit-hook.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/bash
# Installation: ln -s ../../precommit-hook.sh .git/hooks/pre-commit
git diff --cached --name-status | while read status file; do
if [[ "$file" =~ ^patches/ ]] || [[ "$file" =~ ^patch-list-template.diff$ ]]; then
echo ""
echo "*** GENERATING patch-list.patch ***"
echo ""
./generate-patchlist.sh > patches/patch-list.patch || exit 1
git add patches/patch-list.patch || exit 1
break;
fi
done