Skip to content

Commit

Permalink
Fix: incorrect order of arguments in determining whether local branch…
Browse files Browse the repository at this point in the history
… exists.
  • Loading branch information
nvie committed May 27, 2010
1 parent d43ab84 commit 5b05ad7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitflow-common
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5b05ad7

Please sign in to comment.