From afbf92c6208184f78b4209cd75679d6e25db70c9 Mon Sep 17 00:00:00 2001 From: Randy Merrill Date: Wed, 8 Feb 2012 09:33:04 -0800 Subject: [PATCH] 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. --- gitflow-common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitflow-common b/gitflow-common index fb515de83..4834cf102 100644 --- a/gitflow-common +++ b/gitflow-common @@ -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