Doesn't make sense to allow prefix names for commands that require $BRANCH to be absent.
This commit is contained in:
parent
22ef21a136
commit
8392ed32a3
1 changed files with 4 additions and 4 deletions
|
@ -107,13 +107,13 @@ parse_args() {
|
|||
parse_args_common
|
||||
}
|
||||
|
||||
parse_start_args() {
|
||||
parse_args_with_name_prefix() {
|
||||
NAME="$1"
|
||||
parse_args_common
|
||||
}
|
||||
|
||||
cmd_start() {
|
||||
parse_start_args "$@"
|
||||
parse_args_with_name_prefix "$@"
|
||||
|
||||
# sanity checks
|
||||
gitflow_require_clean_working_tree
|
||||
|
@ -248,7 +248,7 @@ helper_finish_cleanup() {
|
|||
}
|
||||
|
||||
cmd_publish() {
|
||||
parse_args "$@"
|
||||
parse_args_with_name_prefix "$@"
|
||||
|
||||
# sanity checks
|
||||
gitflow_require_clean_working_tree
|
||||
|
@ -274,7 +274,7 @@ cmd_publish() {
|
|||
}
|
||||
|
||||
cmd_track() {
|
||||
parse_args "$@"
|
||||
parse_args_with_name_prefix "$@"
|
||||
|
||||
# sanity checks
|
||||
gitflow_require_clean_working_tree
|
||||
|
|
Loading…
Reference in a new issue