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