now showing if the upstream branch gets deleted from the remote.

This commit is contained in:
2025-01-23 10:43:06 -05:00
parent 6718c5b8ba
commit 7cf7445b6f
+2
View File
@@ -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