summaryrefslogtreecommitdiff
path: root/git/refs/head.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2011-04-29 17:04:37 +0200
committerSebastian Thiel <byronimo@gmail.com>2011-04-29 17:04:37 +0200
commit3fe1a7f87d511758adf2e56803cb3610b80c5f08 (patch)
tree3808cf15466a528ee3f266eb714f380aba2d9a7f /git/refs/head.py
parenta80f9af7d3d18a657111061dcc1104d7a8aec64b (diff)
downloadgitpython-3fe1a7f87d511758adf2e56803cb3610b80c5f08.tar.gz
Moved rev_parse code into gitdb, this probably broke pretty much here, which is still to be fixed of course
Diffstat (limited to 'git/refs/head.py')
-rw-r--r--git/refs/head.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/git/refs/head.py b/git/refs/head.py
index dec03551..8ebb409c 100644
--- a/git/refs/head.py
+++ b/git/refs/head.py
@@ -1,13 +1,12 @@
from gitdb.ref.head import HEAD as GitDB_HEAD
-from gitdb.ref.head import Head as GitDB_Head
+from gitdb.ref.headref import Head as GitDB_Head
from git.exc import GitCommandError
-from git.util import RepoAliasMixin
__all__ = ["HEAD", "Head"]
-class HEAD(GitDB_HEAD, RepoAliasMixin):
+class HEAD(GitDB_HEAD):
"""Provides additional functionality using the git command"""
__slots__ = tuple()
@@ -73,7 +72,7 @@ class HEAD(GitDB_HEAD, RepoAliasMixin):
return self
-class Head(GitDB_Head, RepoAliasMixin):
+class Head(GitDB_Head):
"""The GitPyhton Head implementation provides more git-command based features
A Head is a named reference to a Commit. Every Head instance contains a name