/usr/share/pyshared/git/refs/__init__.py is in python-git 0.3.2~RC1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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)
from log import *
|