Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

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.
  • Loading branch information...
1 parent 61f2c69 commit 5ff0b47909be3e8bdd4da04b9a22cfc1b170609f @bstpierre bstpierre committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  gitflow-common
2  gitflow-common
@@ -148,7 +148,7 @@ git_compare_branches() {
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

0 comments on commit 5ff0b47

Please sign in to comment.
Something went wrong with that request. Please try again.