Permalink
Browse files

Use space (' ') instead of '?' as a pattern terminator.

  • Loading branch information...
1 parent a4dd223 commit 68845235272d895c3358325d6ef7aec273bcced6 @nvie committed Feb 9, 2010
Showing with 3 additions and 3 deletions.
  1. +1 −1 git-flow-hotfix
  2. +1 −1 git-flow-release
  3. +1 −1 git-flow-support
View
@@ -38,7 +38,7 @@ cmd_list() {
exit 0
fi
current_branch=$(git branch | grep '^\* ' | grep -v 'no branch' | sed 's/^* //g')
- short_names=$(echo "$hotfix_branches" | sed "s?^$PREFIX??g")
+ short_names=$(echo "$hotfix_branches" | sed "s ^$PREFIX g")
# determine column width first
typeset -i width=0
View
@@ -50,7 +50,7 @@ cmd_list() {
fi
current_branch=$(git branch | grep '^\* ' | grep -v 'no branch' | sed 's/^* //g')
- short_names=$(echo "$release_branches" | sed "s?^$PREFIX??g")
+ short_names=$(echo "$release_branches" | sed "s ^$PREFIX g")
# determine column width first
typeset -i width=0
View
@@ -40,7 +40,7 @@ cmd_list() {
exit 0
fi
current_branch=$(git branch | grep '^\* ' | grep -v 'no branch' | sed 's/^* //g')
- short_names=$(echo "$support_branches" | sed "s?^$PREFIX??g")
+ short_names=$(echo "$support_branches" | sed "s ^$PREFIX g")
# determine column width first
typeset -i width=0

0 comments on commit 6884523

Please sign in to comment.