This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we are showing it without any
pretty colors.
Highlight
it anyway.
| 1 |
#!/bin/bash |
| 2 |
|
| 3 |
# Pick's a patch from a WebKit git repository into Qt's src/3rdparty/webkit |
| 4 |
|
| 5 |
if [ "$#" != 2 ]; then |
| 6 |
echo "usage: $0 <path to webkit dir> <commit>" |
| 7 |
exit 1 |
| 8 |
fi |
| 9 |
|
| 10 |
wkdir=$1 |
| 11 |
commit=$2 |
| 12 |
|
| 13 |
(cd $wkdir && git format-patch -M -C --relative --stdout "$commit^..$commit" ) | git am -s -3 --directory=src/3rdparty/webkit |