summaryrefslogtreecommitdiff
path: root/git/refs/__init__.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2011-04-07 12:14:04 +0200
committerSebastian Thiel <byronimo@gmail.com>2011-04-07 12:14:04 +0200
commite77d2d0ebb9487b696835f219e4a23a558462a55 (patch)
tree05e6d51374e2362b5e44783af631b316679b53c7 /git/refs/__init__.py
parent8af941618a851d190668602be3b6bede1544f1dc (diff)
downloadgitpython-e77d2d0ebb9487b696835f219e4a23a558462a55.tar.gz
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
Diffstat (limited to 'git/refs/__init__.py')
-rw-r--r--git/refs/__init__.py6
1 files changed, 3 insertions, 3 deletions
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)