Permalink
Browse files

Updating the escape characters to fix an issue with having a + in the…

… 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...
1 parent 07dacd5 commit afbf92c6208184f78b4209cd75679d6e25db70c9 @Zoramite Zoramite committed Feb 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 gitflow-common
View
@@ -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

0 comments on commit afbf92c

Please sign in to comment.