MCPcopy
hub / github.com/gitless-vcs/gitless / _update

Method _update

gitless/core.py:609–612  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

607 return walker(self.gl_repo.git_repo, self.target, reverse=reverse)
608
609 def _update(self):
610 git.fetch(self.remote_name, self.branch_name)
611 self.git_branch = self.gl_repo.git_repo.lookup_branch(
612 self.remote_name + '/' + self.branch_name, pygit2.GIT_BRANCH_REMOTE)
613
614 def __str__(self):
615 return self.remote_name + '/' + self.branch_name

Callers 2

targetMethod · 0.95
headMethod · 0.95

Calls 1

lookup_branchMethod · 0.45

Tested by

no test coverage detected