make the bitch on irc happy

some person complained about this. see diff.

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-07-27 23:27:56 +01:00
parent 1265eb5b63
commit 06fd12953f
+9
View File
@@ -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##*.}\"" \