summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Allen <michael@michaelallen.io>2015-10-15 17:42:57 +0100
committerMichael Allen <michael@michaelallen.io>2015-10-16 11:51:14 +0100
commit1a856774a1c0d0f6a9957046e90c1c24d253e6a0 (patch)
tree3a2c173a1414534d8e7858605f6be24fad9652b4
parent5997057f7abb6ced9891f5288f0e08d4b1b73a2f (diff)
downloadgit-sonar-1a856774a1c0d0f6a9957046e90c1c24d253e6a0.tar.gz
git-sonar-1a856774a1c0d0f6a9957046e90c1c24d253e6a0.zip
Fix tests broken by old regex string
-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