diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2009-12-03 15:52:22 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2009-12-03 15:52:22 +0100 |
commit | 1eae9d1532e037a4eb08aaee79ff3233d2737f31 (patch) | |
tree | d3461b9fb163bf96f7fe9ab45c9de1d6a6ddfe0f /lib/git/cmd.py | |
parent | bae67b87039b3364bdc22b8ef0b75dd18261814c (diff) | |
download | gitpython-1eae9d1532e037a4eb08aaee79ff3233d2737f31.tar.gz |
repo: fixed incorrect path handling thta could lead to issues if the repository was initialized with a .git repository, although it was not bare actually
Diffstat (limited to 'lib/git/cmd.py')
-rw-r--r-- | lib/git/cmd.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/git/cmd.py b/lib/git/cmd.py index 6ee8f355..b97381f4 100644 --- a/lib/git/cmd.py +++ b/lib/git/cmd.py @@ -98,7 +98,9 @@ class Git(object): ``git_dir`` Git directory we should work in. If None, we always work in the current - directory as returned by os.getcwd() + directory as returned by os.getcwd(). + 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.git_dir = git_dir |