summaryrefslogtreecommitdiff
path: root/git/objects
diff options
context:
space:
mode:
authorTrym Bremnes <trym.bremnes@gmail.com>2021-10-02 16:42:35 +0200
committerSebastian Thiel <sebastian.thiel@icloud.com>2021-10-03 19:28:45 +0800
commitce4afe46d211cdfb611b8e8109bb0dc160a12540 (patch)
treec05060c7b2b125af158f3454ea2d9fb458fcc8dc /git/objects
parent53d94b8091b36847bb9e495c76bb5a3ec2a2fdb5 (diff)
downloadgitpython-ce4afe46d211cdfb611b8e8109bb0dc160a12540.tar.gz
Revert "Replace wildcard imports with concrete imports"
This reverts commit 53d94b8091b36847bb9e495c76bb5a3ec2a2fdb5. The reason for the revert is that the commit in question introduced a regression where certain modules, functions and classes that were exposed before were no longer exposed. See https://github.com/gitpython-developers/GitPython/pull/1352#issuecomment-932757204 for additional information.
Diffstat (limited to 'git/objects')
-rw-r--r--git/objects/__init__.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/git/objects/__init__.py b/git/objects/__init__.py
index c4a49227..1d0bb7a5 100644
--- a/git/objects/__init__.py
+++ b/git/objects/__init__.py
@@ -4,14 +4,14 @@ Import all submodules main classes into the package space
# flake8: noqa
import inspect
-from .base import Object, IndexObject
-from .blob import Blob
-from .commit import Commit
+from .base import *
+from .blob import *
+from .commit import *
from .submodule import util as smutil
-from .submodule.base import Submodule, UpdateProgress
-from .submodule.root import RootModule, RootUpdateProgress
-from .tag import TagObject
-from .tree import Tree
+from .submodule.base import *
+from .submodule.root import *
+from .tag import *
+from .tree import *
# Fix import dependency - add IndexObject to the util module, so that it can be
# imported by the submodule.base
smutil.IndexObject = IndexObject # type: ignore[attr-defined]