~edwargix/git.sr.ht

642d625706115d1e12823aa782885ed3d365d631 — Drew DeVault 6 years ago 0d0b80f
Fix AnnotatedRef for blob tags
1 files changed, 1 insertions(+), 1 deletions(-)

M gitsrht/blueprints/repo.py
M gitsrht/blueprints/repo.py => gitsrht/blueprints/repo.py +1 -1
@@ 252,7 252,7 @@ class _AnnotatedRef:
            self.tag = repo.get(self.target)
            if isinstance(self.tag, pygit2.Commit):
                self.commit = self.tag
            else:
            elif isinstance(self.tag, pygit2.Tag):
                self.commit = repo.get(self.tag.target)
        else:
            self.type = None