summaryrefslogtreecommitdiff
path: root/git/repo/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/repo/base.py')
-rw-r--r--git/repo/base.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/git/repo/base.py b/git/repo/base.py
index 07cf7adf..2609bf55 100644
--- a/git/repo/base.py
+++ b/git/repo/base.py
@@ -200,7 +200,6 @@ class Repo(object):
# END while curpath
if self.git_dir is None:
- self.git_dir = cast(PathLike, self.git_dir)
raise InvalidGitRepositoryError(epath)
self._bare = False