diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2017-09-28 15:13:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-28 15:13:15 +0200 |
commit | a56136f9cb48a17ae15b59ae0f3f99d9303b1cb1 (patch) | |
tree | ecb856bea6ed63e9c2baf8365a4e0a9030b0b3a3 /git/cmd.py | |
parent | 90dc03da3ebe1daafd7f39d1255565b5c07757cb (diff) | |
parent | 2af601d5800a39ab04e9fe6cf22ef7b917ab5d67 (diff) | |
download | gitpython-a56136f9cb48a17ae15b59ae0f3f99d9303b1cb1.tar.gz |
Merge branch 'master' into adding_setup_for_git_executable
Diffstat (limited to 'git/cmd.py')
-rw-r--r-- | git/cmd.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -32,7 +32,7 @@ from git.compat import ( ) from git.exc import CommandError from git.odict import OrderedDict -from git.util import is_cygwin_git, cygpath +from git.util import is_cygwin_git, cygpath, expand_path from .exc import ( GitCommandError, @@ -531,7 +531,7 @@ class Git(LazyMixin): It is meant to be the working tree directory if available, or the .git directory in case of bare repositories.""" super(Git, self).__init__() - self._working_dir = working_dir + self._working_dir = expand_path(working_dir) self._git_options = () self._persistent_git_options = [] |