scons: Automatically add a git commit message hook
authorAndreas Sandberg <andreas.sandberg@arm.com>
Sun, 5 Feb 2017 05:00:38 +0000 (05:00 +0000)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Wed, 1 Mar 2017 11:42:39 +0000 (11:42 +0000)
commit93e20c9a73523f2b95fc65b99a0192f83eb7d8f4
tree4ec8da8dbec9ed61bc2d8d549020367ba8b7b739
parent2367198921765848a4f5b3d020a7cc5776209f80
scons: Automatically add a git commit message hook

Gerrit requires that all commit messages have a Change-Id tag. This
tag is added automatically by a commit message hook in Git. Include
the default Gerrit commit message hook and add it automatically using
scons to make life easier for everyone.

Change-Id: I1270fbaaadf6ed151bddf14521a38e0c1a02d131
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/2166
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
SConstruct
ext/git-commit-msg [new file with mode: 0755]