From 1a856774a1c0d0f6a9957046e90c1c24d253e6a0 Mon Sep 17 00:00:00 2001 From: Michael Allen Date: Thu, 15 Oct 2015 17:42:57 +0100 Subject: Fix tests broken by old regex string --- radar-base.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3