From e77d2d0ebb9487b696835f219e4a23a558462a55 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Thu, 7 Apr 2011 12:14:04 +0200 Subject: Removed all parts of the reference implementation which doesn't require the git command. everything else was moved to GitDB. None of the tests is yet expected to run, although git-python should have less trouble getting the tests back up running than GitDB. plenty of code needs to be de-duplicated though in case of the tests, which will be some work --- git/refs/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'git/refs/__init__.py') diff --git a/git/refs/__init__.py b/git/refs/__init__.py index fc8ce644..2130a087 100644 --- a/git/refs/__init__.py +++ b/git/refs/__init__.py @@ -8,13 +8,13 @@ from remote import * # name fixes import head -head.RemoteReference = RemoteReference +head.Head.RemoteReferenceCls = RemoteReference del(head) import symbolic -for item in (HEAD, Head, RemoteReference, TagReference, Reference, SymbolicReference): - setattr(symbolic, item.__name__, item) +for item in (HEAD, Head, RemoteReference, TagReference, Reference): + setattr(symbolic.SymbolicReference, item.__name__+'Cls', item) del(symbolic) -- cgit v1.2.3