diff options
author | Patrick Georgi <patrick@georgi-clan.de> | 2011-06-30 19:55:31 +0200 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2011-06-30 21:04:22 +0200 |
commit | 3b81b9dfef1ddbc40f57196341a990249d3eaeb2 (patch) | |
tree | 203bfa9090c1bc717b43521caeaf274b204760f5 /Makefile.inc | |
parent | 7f96583f0f6b9829f73fb8afbb6f367323446030 (diff) | |
download | coreboot-3b81b9dfef1ddbc40f57196341a990249d3eaeb2.tar.gz coreboot-3b81b9dfef1ddbc40f57196341a990249d3eaeb2.tar.bz2 coreboot-3b81b9dfef1ddbc40f57196341a990249d3eaeb2.zip |
Add local copy of commit-msg hook
To avoid using untrusted network to download code, copy the
relevant file to the repo and adapt "make gitconfig" to copy
from there.
Change-Id: I21f0b58d59250aa5d795cf289267ad93bd8d74db
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/73
Reviewed-by: Uwe Hermann <uwe@hermann-uwe.de>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'Makefile.inc')
-rw-r--r-- | Makefile.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc b/Makefile.inc index 8191a04692c6..2b3ea8de5f45 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -232,7 +232,7 @@ lint: rm -f $$LINTLOG gitconfig: - if ! [ -x .git/hooks/commit-msg ]; then wget -O .git/hooks/commit-msg http://review.coreboot.org/tools/hooks/commit-msg; chmod +x .git/hooks/commit-msg; fi + if ! [ -x .git/hooks/commit-msg ]; then cp util/gitconfig/commit-msg .git/hooks/commit-msg; chmod +x .git/hooks/commit-msg; fi (git config --global user.name >/dev/null && git config --global user.email >/dev/null) || (printf 'Please configure your name and email in git:\n\n git config --global user.name "Your Name Comes Here"\n git config --global user.email your.email@example.com\n'; exit 1) crossgcc: clean-for-update |