summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Hunter <m@lfurio.us>2026-02-28 11:38:43 -0500
committerMatt Hunter <m@lfurio.us>2026-02-28 11:38:43 -0500
commitb78422df85c0afe1352e82507f26729f68a657c0 (patch)
tree9b6b607eeb4ec4dfefe5c18f3185c5b3e966e171
parent080ca9f72b7b2c54749787f17bab9027ca05514c (diff)
downloadgit-sonar-master.tar.gz
git-sonar-master.zip
Change missing upstream default indicator color to yellowHEADmaster
The logic here is similar as for %{condition} rendering to yellow. The missing remote branch is an unexpected/abnormal state and yellow has more consistently conveyed this in the past in git-sonar. Signed-off-by: Matt Hunter <m@lfurio.us>
-rwxr-xr-xgit-sonar2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-sonar b/git-sonar
index 5fee51f..5243ec7 100755
--- a/git-sonar
+++ b/git-sonar
@@ -34,7 +34,7 @@ prepare_colors() {
COLOR_REMOTE_AHEAD="\x01${GIT_RADAR_COLOR_REMOTE_AHEAD:-"\\033[1;32m"}\x02"
COLOR_REMOTE_BEHIND="\x01${GIT_RADAR_COLOR_REMOTE_BEHIND:-"\\033[1;31m"}\x02"
COLOR_REMOTE_DIVERGED="\x01${GIT_RADAR_COLOR_REMOTE_DIVERGED:-"\\033[1;33m"}\x02"
- COLOR_REMOTE_NOT_UPSTREAM="\x01${GIT_RADAR_COLOR_REMOTE_NOT_UPSTREAM:-"\\033[1;31m"}\x02"
+ COLOR_REMOTE_NOT_UPSTREAM="\x01${GIT_RADAR_COLOR_REMOTE_NOT_UPSTREAM:-"\\033[1;33m"}\x02"
COLOR_LOCAL_AHEAD="\x01${GIT_RADAR_COLOR_LOCAL_AHEAD:-"\\033[1;32m"}\x02"
COLOR_LOCAL_BEHIND="\x01${GIT_RADAR_COLOR_LOCAL_BEHIND:-"\\033[1;31m"}\x02"