From: Joe Perches Date: Wed, 3 Jul 2013 22:05:36 +0000 (-0700) Subject: checkpatch: cache last camelcase hash as .checkpatch-camelcase. X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~17^2~219 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=351b2a1fe2d06f44b4c06d377744b2ac408b7407;p=pandora-kernel.git checkpatch: cache last camelcase hash as .checkpatch-camelcase. Add a file to cache the CamelCase variables found by to reduce the time it takes to scan the include/ directory. Filename is '.checkpatch-camelcase.' and it is created only only if a .git directory exists. is determined by the last non-merge commit id in the include/ path. Reduces checkpatch run time by ~12 cpu seconds on my little netbook. Signed-off-by: Joe Perches Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed