From 07408e687ce440bf665cd6d04d65075b20db0215 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Sat, 25 Feb 2012 19:52:45 +0100 Subject: gitconfig: Add lint-stable as pre-commit hook When configuring the tree with "make gitconfig", a pre-commit hook is installed that runs the stable lint tests. If any of these fail, the log is visible (on stdout) and the commit is aborted. Change-Id: Ie2a26e87f466c63b24db8dca8827057a18ac7f3e Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/682 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- util/gitconfig/pre-commit | 2 ++ 1 file changed, 2 insertions(+) create mode 100755 util/gitconfig/pre-commit (limited to 'util/gitconfig/pre-commit') diff --git a/util/gitconfig/pre-commit b/util/gitconfig/pre-commit new file mode 100755 index 0000000000..8ab3e5604e --- /dev/null +++ b/util/gitconfig/pre-commit @@ -0,0 +1,2 @@ +#!/bin/sh +exec make lint-stable -- cgit v1.2.1