GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Replace wildcard imports in git.refs · gitpython-developers/GitPython@b25dd7e

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • git/refs
    • __init__.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎git/refs/__init__.py‎

Copy file name to clipboard
+24-8Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,28 @@
11
# This module is part of GitPython and is released under the
22
# 3-Clause BSD License: https://opensource.org/license/bsd-3-clause/
33

4-
# Import all modules in order, fix the names they require.
4+
__all__ = [
5+
"head",
6+
"log",
7+
"reference",
8+
"remote",
9+
"symbolic",
10+
"tag",
11+
"HEAD",
12+
"Head",
13+
"RefLog",
14+
"RefLogEntry",
15+
"Reference",
16+
"RemoteReference",
17+
"SymbolicReference",
18+
"Tag",
19+
"TagReference",
20+
]
521

6-
from .symbolic import * # noqa: F401 F403
7-
from .reference import * # noqa: F401 F403
8-
from .head import * # noqa: F401 F403
9-
from .tag import * # noqa: F401 F403
10-
from .remote import * # noqa: F401 F403
11-
12-
from .log import * # noqa: F401 F403
22+
from . import head, log, reference, remote, symbolic, tag
23+
from .head import HEAD, Head
24+
from .log import RefLog, RefLogEntry
25+
from .reference import Reference
26+
from .remote import RemoteReference
27+
from .symbolic import SymbolicReference
28+
from .tag import Tag, TagReference

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.