]> source.dussan.org Git - gitea.git/commit
IsBranchExist: return false if provided name is empty (#8485)
authorzeripath <art27@cantab.net>
Sun, 13 Oct 2019 16:29:08 +0000 (17:29 +0100)
committerLauris BH <lauris@nix.lv>
Sun, 13 Oct 2019 16:29:08 +0000 (19:29 +0300)
commitc888ebfba713b4d5be88c427a34d29153be52076
tree4f1a73a65d48d525028505f7eab31259f17a171e
parentf858b89b130352265d59b5d46af626373796b74e
IsBranchExist: return false if provided name is empty (#8485)

* IsBranchExist: return false if provided name is empty

* Ensure that the reference returned is actually of a valid type
modules/git/repo_branch.go