mirror of
https://github.com/correl/codereview.git
synced 2024-12-20 03:20:21 +00:00
Merge branch 'master' into navigation
This commit is contained in:
commit
630e080da7
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ class Git(VCS):
|
||||||
if 'master' in self.branches():
|
if 'master' in self.branches():
|
||||||
self._ref = 'master'
|
self._ref = 'master'
|
||||||
else:
|
else:
|
||||||
self.ref = self.branches()[0]
|
self._ref = self.branches()[0]
|
||||||
def branches(self):
|
def branches(self):
|
||||||
if not self._branches:
|
if not self._branches:
|
||||||
self._branches = dict([(head.name, self.commit(head.commit)) for head in self._repo.heads])
|
self._branches = dict([(head.name, self.commit(head.commit)) for head in self._repo.heads])
|
||||||
|
|
Loading…
Reference in a new issue