summaryrefslogtreecommitdiff
path: root/lib/git/cmd.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/git/cmd.py')
-rw-r--r--lib/git/cmd.py4
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