99
99
def open_branch(self, ignored=None):
100
100
"""'create' a branch for this dir."""
101
101
repo = self.open_repository()
106
return branch.LocalGitBranch(self, repo, "HEAD", head, self._lockfiles)
102
return branch.LocalGitBranch(self, repo, "HEAD", repo._git.head(), self._lockfiles)
108
104
def open_repository(self, shared=False):
109
105
"""'open' a repository for this dir."""