summaryrefslogtreecommitdiff
path: root/lib/git/repo.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/git/repo.py')
-rw-r--r--lib/git/repo.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/git/repo.py b/lib/git/repo.py
index 5a9855ac..7621c67b 100644
--- a/lib/git/repo.py
+++ b/lib/git/repo.py
@@ -27,6 +27,7 @@ class Repo(object):
Returns
``GitPython.Repo``
"""
+ path = os.path.expanduser(path)
if not os.path.exists(path):
raise NoSuchPathError(path)