diff options
Diffstat (limited to 'git_checkpatch.sh')
-rwxr-xr-x | git_checkpatch.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/git_checkpatch.sh b/git_checkpatch.sh index 3982925..caa72d0 100755 --- a/git_checkpatch.sh +++ b/git_checkpatch.sh @@ -6,8 +6,9 @@ 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 -~/linux-2.6/scripts/checkpatch.pl /tmp/patch > /tmp/checkpatch || : 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 || : + |