[coreboot] New patch to review for coreboot: 1cfe7e2 gitconfig: upate commit-msg if newer one is available

Zheng Bao (zheng.bao@amd.com) gerrit at coreboot.org
Thu Aug 9 10:24:01 CEST 2012


Zheng Bao (zheng.bao at amd.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1429

-gerrit

commit 1cfe7e261994a2b407883eb55c4416bbd3ec792e
Author: zbao <fishbaozi at gmail.com>
Date:   Thu Aug 9 18:10:52 2012 +0800

    gitconfig: upate commit-msg if newer one is available
    
    Change-Id: Iea010bf6f456a5ce5d8906821c95a7de4b577085
    Signed-off-by: Zheng Bao <zheng.bao at amd.com>
    Signed-off-by: zbao <fishbaozi at gmail.com>
---
 Makefile.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile.inc b/Makefile.inc
index 083d423..8f295c8 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -291,7 +291,7 @@ lint lint-stable:
 	rm -f $$LINTLOG
 
 gitconfig:
-	for hook in commit-msg pre-commit; do if ! [ -x .git/hooks/$$hook ]; then cp util/gitconfig/$$hook .git/hooks/$$hook; chmod +x .git/hooks/$$hook; fi; done
+	for hook in commit-msg pre-commit; do if [ util/gitconfig/$$hook -nt .git/hooks/$$hook -o ! -x .git/hooks/$$hook ]; then cp util/gitconfig/$$hook .git/hooks/$$hook; chmod +x .git/hooks/$$hook; echo "ff"; fi; done
 	(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 at example.com\n'; exit 1)
 
 crossgcc: clean-for-update




More information about the coreboot mailing list