From c5fbc9dce62a8986fee88c4d97c66c7541c98514 Mon Sep 17 00:00:00 2001 From: Matt Hunter Date: Sat, 7 Mar 2026 18:56:27 -0500 Subject: Rescope "remote" variable Better match the context of surrounding "formatter" functions. Signed-off-by: Matt Hunter --- git-sonar | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-sonar b/git-sonar index 5243ec7..ade12bf 100755 --- a/git-sonar +++ b/git-sonar @@ -7,7 +7,6 @@ GIT_SONAR_VERSION="v0.8.1" dot_git="" -remote="" rcfile_path="$HOME" get_fetch_time() { @@ -386,6 +385,7 @@ color_remote_commits() { local green_ahead_arrow="${COLOR_REMOTE_AHEAD}↑$RESET_COLOR_REMOTE" # "←" local red_behind_arrow="${COLOR_REMOTE_BEHIND}↓$RESET_COLOR_REMOTE" # "→" local yellow_diverged_arrow="${COLOR_REMOTE_DIVERGED}⇵$RESET_COLOR_REMOTE" # "⇄" + remote="" if remote_branch="$(remote_branch_name)"; then remote_ahead="$(remote_ahead_of_master "$remote_branch")" -- cgit v1.2.3