Skip to content
Snippets Groups Projects
Commit fb05140f865f authored by Georges Racinet's avatar Georges Racinet
Browse files

NoGitStateMaintainer.get_default_git_ref: fixed the cache

Obviously, setting the cache attribute had been missing for all this
time.
parent 071cd5a0c689
No related branches found
No related tags found
3 merge requests!106Merge stable branch,!105Merged oldstable branch into stable,!104Fixing default GitLab ref reading from Mercurial shares
Pipeline #85501 passed
......@@ -91,6 +91,7 @@
gl_branch = get_default_gitlab_branch(self.repo)
if gl_branch is not None:
res = gitlab_branch_ref(gl_branch)
self._default_git_ref = res
return res
def set_default_gitlab_ref(self, new_default_ref):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment