From 02f36c63b6b3468e03249dfd8ab9c4e787326b9c Mon Sep 17 00:00:00 2001 From: piecka Date: Tue, 13 May 2025 15:59:41 +0200 Subject: [PATCH] =?UTF-8?q?=EF=80=99=20update:=20submodules?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.zshrc b/.zshrc index ac4d0f8..2fd4404 100644 --- a/.zshrc +++ b/.zshrc @@ -371,6 +371,7 @@ __git__() { git submodule foreach ' branch=$(git symbolic-ref --short HEAD 2>/dev/null || echo "detached") if [ "$branch" = "detached" ]; then + echo "${RED}Submodule: $name ${NC}" default_branch=$(git config -f $toplevel/.gitmodules submodule.$name.branch || echo "main") echo "${RED}${BOLD}Submodule $name is detached. Checking out ${YELLOW} $default_branch${RED}...${NC}" git checkout $default_branch