[coreboot-gerrit] New patch to review for coreboot: gitconfig: Fix make gitconfig if USE_BLOBS is disabled

Patrick Georgi (pgeorgi@google.com) gerrit at coreboot.org
Wed Feb 10 00:22:35 CET 2016


Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13650

-gerrit

commit 68be33aba1b7314fbd3ccb82a042d9ea62c27454
Author: Patrick Georgi <pgeorgi at google.com>
Date:   Wed Feb 10 00:20:55 2016 +0100

    gitconfig: Fix make gitconfig if USE_BLOBS is disabled
    
    We tested for the presence of .git/modules/3rdparty, which always exists
    now because of .git/modules/3rdparty/chrome-ec. Test for .../hooks
    instead since that's the actual location for the later activities.
    
    Change-Id: Id5de9f850413c2bc3525faa6cc549641304c3d47
    Signed-off-by: Patrick Georgi <pgeorgi at google.com>
---
 Makefile.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.inc b/Makefile.inc
index fb0d888..c29ae34 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -475,7 +475,7 @@ gitconfig:
 		fi;						     \
 	done
 	# Now set up thehooks for 3rdparty/blobs
-	if [ -d .git/modules/3rdparty -a \
+	if [ -d .git/modules/3rdparty/hooks -a \
 	\( util/gitconfig/commit-msg -nt .git/modules/3rdparty/hooks/commit-msg -o \
 	! -x .git/modules/3rdparty/hooks/commit-msg \) ]; then \
 		sed -e "s,%MAKE%,$(MAKE),g" util/gitconfig/commit-msg > .git/modules/3rdparty/hooks/commit-msg; \



More information about the coreboot-gerrit mailing list