commit | 68845235272d895c3358325d6ef7aec273bcced6 | [log] [tgz] |
---|---|---|
author | Vincent Driessen <vincent@datafox.nl> | 周三 2月 10 00:43:21 2010 +0100 |
committer | Vincent Driessen <vincent@datafox.nl> | 周三 2月 10 00:43:21 2010 +0100 |
tree | 4114690ca351150f9c74b4f391a377beaa48ecb9 | |
parent | a4dd223d5b2a9a724e78a16703583277a081c9ff [diff] [blame] |
Use space (' ') instead of '?' as a pattern terminator.
diff --git a/git-flow-hotfix b/git-flow-hotfix index e7ff5e2..0b4ab25 100644 --- a/git-flow-hotfix +++ b/git-flow-hotfix
@@ -38,7 +38,7 @@ 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