Fix: incorrect order of arguments in determining whether local branch exists.
This commit is contained in:
parent
d43ab849eb
commit
5b05ad78d1
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ gitflow_resolve_nameprefix() {
|
|||
local num_matches
|
||||
|
||||
# first, check if there is a perfect match
|
||||
if has "$(git_local_branches)" "$prefix$name"; then
|
||||
if git_local_branch_exists "$prefix$name"; then
|
||||
echo "$name"
|
||||
return 0
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue