From dec4663129f72321a14efd6de63f14a7419e3ed2 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Tue, 23 Nov 2010 09:14:17 +0100 Subject: Split ref implementation up into multiple files, to make room for the log implementation --- refs/__init__.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 refs/__init__.py (limited to 'refs/__init__.py') 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 -- cgit v1.2.3