commit | f1eaa4e0d05a1edc1023a1922c7cc5e2d5bcb546 | [log] [tgz] |
---|---|---|
author | Vincent Driessen <vincent@datafox.nl> | 周四 2月 03 16:11:25 2011 +0100 |
committer | Vincent Driessen <vincent@datafox.nl> | 周四 2月 03 16:11:25 2011 +0100 |
tree | 0b14edba6ad876d288a26b3493e12331c9bdb27d | |
parent | 553776fd08c288fa221817ce118939c358d08ecb [diff] [blame] |
Don't just take the last argument, take the first. This patch was originally contributed as a workaround for the cases where there were flags that took the first argument position. This fix was just plain wrong and this commit reverts it.
diff --git a/git-flow-feature b/git-flow-feature index 8893598..b69cc73 100644 --- a/git-flow-feature +++ b/git-flow-feature
@@ -180,7 +180,7 @@ parse_cmdline "$@" # read arguments into global variables - NAME=$(last_arg "$@") + NAME=$1 BRANCH=$PREFIX$NAME }