diff --git a/bin/Source/GitSource.py b/bin/Source/GitSource.py --- a/bin/Source/GitSource.py +++ b/bin/Source/GitSource.py @@ -51,7 +51,7 @@ def __isLocalBranch(self, branch): if os.path.exists(self.checkoutDir()): with io.StringIO() as tmp: - self.__git("for-each-ref", ["--format=%(refname:short)", "refs/heads"], stdout=tmp) + self.__git("for-each-ref", ["--format=%(refname:short)", "refs/heads/**"], stdout=tmp) return branch in tmp.getvalue().strip().split("\n") return False