blob: ca5ace02e4b6e6b2551c427e58d4a1f72249a420 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
|