git pre-commit hook running checkpatch.pl

From: Ben Dooks
Date: Tue Jan 19 2010 - 21:02:16 EST


I've written a git pre-commit[1] hook which stops any commits happening if
checkpatch.pl reports problems with the patch. Any comments?

[1] http://www.fluff.org/ben/linux/githooks/pre-commit

--
Ben

Q: What's a light-year?
A: One-third less calories than a regular year.

Attachment: signature.asc
Description: Digital signature