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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/repo/base.py b/git/repo/base.py
index 20b3fa27..21d129e9 100644
--- a/git/repo/base.py
+++ b/git/repo/base.py
@@ -109,7 +109,7 @@ class Repo(object):
:raise InvalidGitRepositoryError:
:raise NoSuchPathError:
:return: git.Repo """
- if path and Git.is_cygwin():
+ if Git.is_cygwin():
path = decygpath(path)
epath = _expand_path(path or os.getcwd())