From 500db502cce8037c76f225950a5fac8c174d61b3 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Tue, 25 Aug 2026 08:45:43 -0700 Subject: [PATCH] reload-termux, add header output for each git command. --- bashrc.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bashrc.sh b/bashrc.sh index 33e8458..facaeed 100755 --- a/bashrc.sh +++ b/bashrc.sh @@ -127,10 +127,13 @@ export PROJECT_TERMUX="$HOME/.git-env-termux" function test-termux { if [[ -d "$PROJECT_TERMUX" ]]; then log "`date` - Updating '$PROJECT_TERMUX'.\n" + echo " Switching to '$BRANCH'." git -C "$PROJECT_TERMUX" switch "$BRANCH" + echo " Pulling with submodules." git -C "$PROJECT_TERMUX" pull --recurse-submodules || \ ( echo "Failed to pull project, exiting." && return 1 ) # Something above is doing a 'D setup.sh', so ensure it gets recreated. + echo " Ensuring setup.sh exists." git -C "$PROJECT_TERMUX" restore setup.sh else log "`date` - Downloading '$PROJECT_TERMUX'.\n"