summaryrefslogtreecommitdiff
path: root/git_checkpatch.sh
diff options
context:
space:
mode:
authorNoe Rubinstein <nrubinstein@avencall.com>2012-02-13 12:06:27 +0100
committerNoe Rubinstein <nrubinstein@avencall.com>2012-02-13 12:06:27 +0100
commit1454bb92cdb6331afd065b7340b8267738e62772 (patch)
treebae56e11ad3a4b1232be4b14298138543d24e09d /git_checkpatch.sh
parent3a5483aeef9f8da21646e5d6013b1bbc8edd40e4 (diff)
new scripts
Diffstat (limited to 'git_checkpatch.sh')
-rwxr-xr-xgit_checkpatch.sh3
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 || :
+