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)
commitc707a81de71a27a499fde60fbb963f60602c1a94
tree38f6a128f256ba3d2e95b470e83d8ac88c60b2cb
parentdcb6b45254e2281b6f99ea7f2d51343954aa3ba8
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