petervanderdoes/gitflow — pull request #6 by baby-gnu (2012-07-07 18:55:24+00:00)
Title: Fix branch and tag existence helpers

The "git for-each-ref" command will display all local branches with
"refs/heads/" argument and all branches on all remote with
"refs/remotes/".

* gitflow-common (git_local_branch_exists): Check if first argument is
not null.
(git_remote_branch_exists): Ditoo.
(git_tag_exists): Ditoo.
(require_branch): Pass first argument to git_branch_exists().