FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
GitPython/git/refs/__init__.py at experiment-2012 · githubdelegate/GitPython · GitHub
githubdelegate
GitPython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
GitPython
/
git
/
refs
/
__init__.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
22 lines (16 loc) · 467 Bytes
Breadcrumbs
GitPython
/
git
/
refs
/
__init__.py
Copy path
File metadata and controls
22 lines (16 loc) · 467 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# import all modules in order, fix the names they require
from
symbolic
import
*
from
reference
import
*
from
headref
import
*
from
head
import
*
from
tag
import
*
from
remote
import
*
# name fixes
import
headref
headref
.
Head
.
RemoteReferenceCls
=
RemoteReference
del
(
headref
)
import
symbolic
for
item
in
(
HEAD
,
Head
,
RemoteReference
,
TagReference
,
Reference
):
setattr
(
symbolic
.
SymbolicReference
,
item
.
__name__
+
'Cls'
,
item
)
del
(
symbolic
)
from
log
import
*
Back
|
FazBrowse Home
|
New Git URL