Fix issue 34: "release finish" error: bad variable name.
On some systems, /bin/sh is a symlink to dash. "local" here wants to
create variables for multiple words on the line. Added quotes so that
these are not treated as multiple variables.
diff --git a/gitflow-common b/gitflow-common
index e5ffc74..4255f99 100644
--- a/gitflow-common
+++ b/gitflow-common
@@ -148,7 +148,7 @@
git_is_branch_merged_into() {
local subject=$1
local base=$2
- local all_merges=$(git branch --no-color --contains $subject | sed 's/^[* ] //')
+ local all_merges="$(git branch --no-color --contains $subject | sed 's/^[* ] //')"
has $base $all_merges
}