]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: make the CamelCase cache work for non-git trees too
authorJoe Perches <joe@perches.com>
Mon, 8 Jul 2013 23:00:43 +0000 (16:00 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 Jul 2013 17:33:25 +0000 (10:33 -0700)
commitc1daa2cb653f8cf40d7bd694bb139bdcf19cb7a2
tree38f6a128f256ba3d2e95b470e83d8ac88c60b2cb
parentc396f90f848b15270917bf34515daddb01d1893e
checkpatch: make the CamelCase cache work for non-git trees too

Might as well check include timestamps and cache the include file
CamelCase uses for the non-git case too.

The camelcase cache file is now named:

  for git:      .checkpatch-camelcase.git.<commit_id>
  for non-git:  .checkpatch-camelcase.date.<YYYYMMDDhhmm>

All .checkpatch-camelcase* files are deleted if not current.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl