k3s/hack/boilerplate
Eric Paris 8a91d86783 Speed up pre-commit boilerplate by only checking changed files
Although the boilerplate checker was very fast it can be faster. With
this change we can hand the boilerplate a list of files which need to be
checked or give it no files. If given no files it will run all files in
the repo. Before you had to explicitly tell the boiler checker the
'extention' of the the files.  In this case we let the checker figure it
out and load the headers as needed.

Doing the whole repo takes about 0.4 seconds. Doing a single go file
takes < .04 seconds.
2015-08-14 10:19:33 -04:00
..
boilerplate.go.txt Move boilerplate from hooks/ to hack/ 2015-08-11 14:20:38 -04:00
boilerplate.py Speed up pre-commit boilerplate by only checking changed files 2015-08-14 10:19:33 -04:00
boilerplate.py.txt Move boilerplate from hooks/ to hack/ 2015-08-11 14:20:38 -04:00
boilerplate.sh.txt Move boilerplate from hooks/ to hack/ 2015-08-11 14:20:38 -04:00