This website requires JavaScript.
Explore
Help
Register
Sign In
GNUBoot
/
coreboot-kgpe-d16
Watch
2
Star
0
Fork
You've already forked coreboot-kgpe-d16
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
7d898497c0
coreboot-kgpe-d16
/
util
/
gitconfig
/
pre-commit
3 lines
34 B
Plaintext
Raw
Normal View
History
Unescape
Escape
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 <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/682 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2012-02-25 19:52:45 +01:00
#!/bin/sh
gitconfig: Use the right make executable in git hooks When installing git hooks through $(MAKE) gitconfig, make knows itself (and is a GNU make). So let it splice itself into hooks where necessary by replacing %MAKE%. Change-Id: Iaf778bfa3f17a8fe31312f871571ed89a9de5385 Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/10018 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
2015-04-28 21:36:11 +02:00
exec %MAKE% lint-stable