summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert <albertnigma@gmail.com>2015-09-05 08:14:04 +0500
committerAlbert <albertnigma@gmail.com>2015-09-05 08:14:04 +0500
commit373f8b4371abb8e4366efe4421981d5727ecd923 (patch)
tree7012bb0f9ff510733ca15d66c9c1957a8eb47586
parenta6c7770c2456747d3f06102d0dad2cbbf0f81542 (diff)
downloadgit-sonar-373f8b4371abb8e4366efe4421981d5727ecd923.tar.gz
git-sonar-373f8b4371abb8e4366efe4421981d5727ecd923.zip
Fix bug with the view of colored branch name in bash
-rwxr-xr-xradar-base.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/radar-base.sh b/radar-base.sh
index 25a4113..c793eab 100755
--- a/radar-base.sh
+++ b/radar-base.sh
@@ -182,7 +182,7 @@ branch_ref() {
readable_branch_name() {
if is_repo; then
- printf '%s' "$COLOR_BRANCH$(branch_name || printf '%s' "detached@$(commit_short_sha)")$RESET_COLOR_BRANCH"
+ printf "$COLOR_BRANCH$(branch_name || printf '%s' "detached@$(commit_short_sha)")$RESET_COLOR_BRANCH"
fi
}