Review Board 2.0.15


style: Add a git pre-commit hook

Review Request #3385 - Created March 16, 2016 and submitted - Latest diff uploaded

Information
Andreas Sandberg
gem5
default
Reviewers
Default
Changeset 11376:5e927519161d
---------------------------
style: Add a git pre-commit hook

Add a git pre-commit hook that verifies that files that are about to
be committed. Since git stages changes into an index and the index
contains the changes that will be committed, the style checker only
looks at the state of files in the index.

Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Curtis Dunham <curtis.dunham@arm.com>