From 3fe1a7f87d511758adf2e56803cb3610b80c5f08 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Fri, 29 Apr 2011 17:04:37 +0200 Subject: Moved rev_parse code into gitdb, this probably broke pretty much here, which is still to be fixed of course --- git/refs/head.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'git/refs/head.py') 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 -- cgit v1.2.1