summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xradar-base.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/radar-base.sh b/radar-base.sh
index 6a9c630..52043d4 100755
--- a/radar-base.sh
+++ b/radar-base.sh
@@ -197,7 +197,7 @@ branch_ref() {
}
remote_branch_name() {
- local localRef="\/$(branch_name)$"
+ local localRef="$(branch_name)"
if [[ -n "$localRef" ]]; then
local remote="$(git config --get-regexp "^branch\.$localRef\.remote" | awk '{print $2}')"
if [[ -n $remote ]]; then