summaryrefslogtreecommitdiff
path: root/refs/__init__.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2010-11-23 09:14:17 +0100
committerSebastian Thiel <byronimo@gmail.com>2010-11-23 09:14:17 +0100
commitdec4663129f72321a14efd6de63f14a7419e3ed2 (patch)
tree3d8c25eafc4fbf4110741f2d243c3e9c54642638 /refs/__init__.py
parentfca367548e365f93c58c47dea45507025269f59a (diff)
downloadgitpython-dec4663129f72321a14efd6de63f14a7419e3ed2.tar.gz
Split ref implementation up into multiple files, to make room for the log implementation
Diffstat (limited to 'refs/__init__.py')
-rw-r--r--refs/__init__.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/refs/__init__.py b/refs/__init__.py
new file mode 100644
index 00000000..ca5ace02
--- /dev/null
+++ b/refs/__init__.py
@@ -0,0 +1,20 @@
+
+# import all modules in order, fix the names they require
+from symbolic import *
+from reference import *
+from head import *
+from tag import *
+from remote import *
+
+# name fixes
+import head
+head.RemoteReference = RemoteReference
+del(head)
+
+
+import symbolic
+for item in (HEAD, Head, RemoteReference, TagReference, Reference, SymbolicReference):
+ setattr(symbolic, item.__name__, item)
+del(symbolic)
+# git.objects.Commit -> symbolic
+# git.config.SectionConstraint -> head