[coreboot-gerrit] New patch to review for coreboot: 14af2f7 build system: Only setup git hooks if we're in a git checkout
Patrick Georgi (pgeorgi@google.com)
gerrit at coreboot.org
Wed Mar 4 15:04:05 CET 2015
Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/8601
-gerrit
commit 14af2f71ed47814f0c2dc4105196a39b56c9df06
Author: Patrick Georgi <pgeorgi at google.com>
Date: Wed Mar 4 15:03:05 2015 +0100
build system: Only setup git hooks if we're in a git checkout
A bit crude test, but before we would have _created_ .git
and confused later git presence tests.
Change-Id: Iec882d0e38ce1bd227cae8c1e541fb21be085290
Signed-off-by: Patrick Georgi <pgeorgi at google.com>
---
Makefile.inc | 1 +
1 file changed, 1 insertion(+)
diff --git a/Makefile.inc b/Makefile.inc
index 951cfee..eb8b601 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -436,6 +436,7 @@ lint lint-stable:
rm -f $$LINTLOG
gitconfig:
+ [ -d .git ]
mkdir -p .git/hooks
for hook in commit-msg pre-commit ; do \
if [ util/gitconfig/$$hook -nt .git/hooks/$$hook -o \
More information about the coreboot-gerrit
mailing list