From 7cf7445b6fd08547fa35ce477adf83334bf17b18 Mon Sep 17 00:00:00 2001 From: Andrew Stowell Date: Thu, 23 Jan 2025 10:43:06 -0500 Subject: [PATCH] now showing if the upstream branch gets deleted from the remote. --- status-all.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/status-all.sh b/status-all.sh index 1458068..780ffe7 100755 --- a/status-all.sh +++ b/status-all.sh @@ -60,6 +60,8 @@ function process_git_status () { output="$output\n *  on detached head " elif [[ "$upstream" == "" ]]; then output="$output\n *  on untracked branch " + elif [[ "$info" == *"but the upstream is gone"* ]]; then + output="$output\n *  on deleted branch " fi # various file statuses