From 06fd12953f4b9f0a0b8c76e6fd4b78fd5ee012df Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Mon, 27 Jul 2026 23:27:56 +0100 Subject: make the bitch on irc happy some person complained about this. see diff. Signed-off-by: Leah Rowe --- include/init.sh | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include/init.sh') 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##*.}\"" \ -- cgit v1.2.1