summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-07-27 23:27:56 +0100
committerLeah Rowe <leah@libreboot.org>2026-07-27 23:27:56 +0100
commit06fd12953f4b9f0a0b8c76e6fd4b78fd5ee012df (patch)
treec22e1a3f0e1b55344464233e1b230296f083900d /include
parent1265eb5b63d6478f6442c669955bf0e3f7dcd6b3 (diff)
make the bitch on irc happy
some person complained about this. see diff. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include')
-rw-r--r--include/init.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/init.sh b/include/init.sh
index 26705934..f8f0f910 100644
--- a/include/init.sh
+++ b/include/init.sh
@@ -452,6 +452,15 @@ xbmk_set_mirror()
xbmk_git_init()
{
for gitarg in "user.name" "user.email"; do
+ if [ "$2" != "-b" ]; then
+
+ # we only need git name/email set for building
+ # coreboot. this is a bit of a hack, but it should
+ # make xbmk a bit easier to use for example when
+ # someone only wants to run ./mk inject
+
+ break
+ fi
gitcmd="git config --includes $gitarg"
if ! $gitcmd 1>/dev/null 2>/dev/null; then
err "Run this first: $gitcmd \"your ${gitcmd##*.}\"" \