commit | 5b05ad78d10f8cb596fce1eb8ecf76a232962ace | [log] [tgz] |
---|---|---|
author | Vincent Driessen <vincent@datafox.nl> | 周四 5月 27 11:51:50 2010 -0700 |
committer | Vincent Driessen <vincent@datafox.nl> | 周四 5月 27 11:51:50 2010 -0700 |
tree | f22d3a93474ce84c7859f00a3bece56ae122fb0f | |
parent | d43ab849eb527912b08f6aec4a79ea69ef4ef25c [diff] |
Fix: incorrect order of arguments in determining whether local branch exists.
diff --git a/gitflow-common b/gitflow-common index 615b367..f0748ac 100644 --- a/gitflow-common +++ b/gitflow-common
@@ -206,7 +206,7 @@ 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