Skip to content

Commit

Permalink
Use space (' ') instead of '?' as a pattern terminator.
Browse files Browse the repository at this point in the history
  • Loading branch information
nvie committed Feb 9, 2010
1 parent a4dd223 commit 6884523
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion git-flow-hotfix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion git-flow-release
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion git-flow-support
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6884523

Please sign in to comment.