Commit 5b05ad78 authored by Vincent Driessen's avatar Vincent Driessen

Fix: incorrect order of arguments in determining whether local branch exists.

parent d43ab849
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment