summaryrefslogtreecommitdiff
path: root/git/refs/head.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/refs/head.py')
-rw-r--r--git/refs/head.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/git/refs/head.py b/git/refs/head.py
index 1b3e7f00..662c2c87 100644
--- a/git/refs/head.py
+++ b/git/refs/head.py
@@ -10,8 +10,8 @@ from git.exc import GitCommandError
__all__ = ["HEAD", "Head"]
-
class HEAD(SymbolicReference):
+
"""Special case of a Symbolic Reference as it represents the repository's
HEAD reference."""
_HEAD_NAME = 'HEAD'
@@ -92,6 +92,7 @@ class HEAD(SymbolicReference):
class Head(Reference):
+
"""A Head is a named reference to a Commit. Every Head instance contains a name
and a Commit object.
@@ -151,7 +152,6 @@ class Head(Reference):
return self
-
def tracking_branch(self):
"""
:return: The remote_reference we are tracking, or None if we are