diff --git a/gitbark/git.py b/gitbark/git.py index 2c4435d..1288303 100644 --- a/gitbark/git.py +++ b/gitbark/git.py @@ -199,7 +199,7 @@ def branch(self) -> Optional[str]: @property def references(self) -> dict[str, Commit]: return { - ref.name: Commit(ref.target.raw, self) + ref.name: Commit(ref.resolve().target.raw, self) for ref in self._object.references.iterator() }