blob: caa72d0f2c453f8d5c5c9def08b80f768f4a063c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
set -e
set -x
git commit --allow-empty -a -m "save changes"
git checkout -b test_checkpatch
git reset --soft v2.6.34
git commit --allow-empty -a -m "huge commit"
git format-patch --stdout HEAD\^ > /tmp/patch
git checkout -
git branch -D test_checkpatch
git reset --soft `git symbolic-ref HEAD`'@{1}'
~/linux-2.6/scripts/checkpatch.pl /tmp/patch > /tmp/checkpatch || :
|