summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2013-01-03 08:26:09 -0800
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-01-03 19:32:29 +0100
commit64b364d1ec85f97fe948ba41cf8e7a3f43503829 (patch)
treeadb5028d0218029a9dc9d5d89b288d6b494b0591
parentec8d35fe911ab35a5f40fd5b452f5463857b244a (diff)
downloadcoreboot-64b364d1ec85f97fe948ba41cf8e7a3f43503829.tar.xz
Add the push default to 'make gitconfig'
It's too easy to forget this and it's kind of important, so Just Add It. Change-Id: Ic7ab7658425a98d5d435bfef46f89cc6a56c7284 Signed-off-by: Ronald G. Minnich <rminnich@gmail.com> Reviewed-on: http://review.coreboot.org/2096 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
-rw-r--r--Makefile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.inc b/Makefile.inc
index b0a5341ddc..a066e256e0 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -340,6 +340,7 @@ gitconfig:
chmod +x .git/hooks/$$hook; \
fi; \
done
+ git config remote.origin.push HEAD:refs/for/master
(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