summaryrefslogtreecommitdiff
path: root/git/refs
diff options
context:
space:
mode:
Diffstat (limited to 'git/refs')
-rw-r--r--git/refs/head.py2
-rw-r--r--git/refs/log.py2
-rw-r--r--git/refs/remote.py2
-rw-r--r--git/refs/symbolic.py2
-rw-r--r--git/refs/tag.py4
5 files changed, 6 insertions, 6 deletions
diff --git a/git/refs/head.py b/git/refs/head.py
index 702ce468..4345528b 100644
--- a/git/refs/head.py
+++ b/git/refs/head.py
@@ -2,7 +2,7 @@
from symbolic import SymbolicReference
from git.exc import GitCommandError
-__all__ = ["HEAD", "Head"]
+__all__ = ["HEAD"]
class HEAD(SymbolicReference):
diff --git a/git/refs/log.py b/git/refs/log.py
index 2028efb9..80102e7f 100644
--- a/git/refs/log.py
+++ b/git/refs/log.py
@@ -10,7 +10,7 @@ from git.util import (
file_contents_ro_filepath
)
-from git.object.util import (
+from git.objects.util import (
parse_date,
Serializable,
utctz_to_altz,
diff --git a/git/refs/remote.py b/git/refs/remote.py
index b883b00b..f2dc72ee 100644
--- a/git/refs/remote.py
+++ b/git/refs/remote.py
@@ -8,7 +8,7 @@ from git.util import (
__all__ = ["RemoteReference"]
-class RemoteReference(GitDB_RemoteReference):
+class RemoteReference(Head):
"""Represents a reference pointing to a remote head."""
__slots__ = tuple()
diff --git a/git/refs/symbolic.py b/git/refs/symbolic.py
index 847c563d..1a0d3566 100644
--- a/git/refs/symbolic.py
+++ b/git/refs/symbolic.py
@@ -1,7 +1,7 @@
import os
import re
-from git.object import (
+from git.objects import (
Object,
Commit
)
diff --git a/git/refs/tag.py b/git/refs/tag.py
index 7a0caa48..3a1433be 100644
--- a/git/refs/tag.py
+++ b/git/refs/tag.py
@@ -1,8 +1,8 @@
-from git.ref.tag import TagReference as GitDB_TagReference
+from reference import Reference
__all__ = ["TagReference", "Tag"]
-class TagReference(GitDB_TagReference):
+class TagReference(Reference):
"""Class representing a lightweight tag reference which either points to a commit
,a tag object or any other object. In the latter case additional information,
like the signature or the tag-creator, is available.