Skip to content

Commit

Permalink
Updating the escape characters to fix an issue with having a + in the…
Browse files Browse the repository at this point in the history
… branch name.

Since git allows for it the escape should not escape it since it then won't match the branch names correctly.
  • Loading branch information
Zoramite committed Feb 8, 2012
1 parent 07dacd5 commit afbf92c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitflow-common
Expand Up @@ -45,7 +45,7 @@ warn() { echo "$@" >&2; }
die() { warn "$@"; exit 1; }

escape() {
echo "$1" | sed 's/\([\.\+\$\*]\)/\\\1/g'
echo "$1" | sed 's/\([\.\$\*]\)/\\\1/g'
}

# set logic
Expand Down

0 comments on commit afbf92c

Please sign in to comment.