summaryrefslogtreecommitdiff
path: root/git/repo/base.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2015-02-09 21:05:41 +0100
committerSebastian Thiel <byronimo@gmail.com>2015-02-09 21:05:41 +0100
commitf51fe3e66d358e997f4af4e91a894a635f7cb601 (patch)
treef824cff9cf9c417734acbe6dd0e489b831aed2b2 /git/repo/base.py
parent28d6c90782926412ba76838e7a81e60b41083290 (diff)
downloadgitpython-f51fe3e66d358e997f4af4e91a894a635f7cb601.tar.gz
Added previously missing parameter documentation for Repo.__init__ .
Related to #255
Diffstat (limited to 'git/repo/base.py')
-rw-r--r--git/repo/base.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/git/repo/base.py b/git/repo/base.py
index b7a9e29d..e59cb0c7 100644
--- a/git/repo/base.py
+++ b/git/repo/base.py
@@ -121,6 +121,11 @@ class Repo(object):
Object DataBase type - a type which is constructed by providing
the directory containing the database objects, i.e. .git/objects. It will
be used to access all object data
+ :param search_parent_directories:
+ if True, all parent directories will be searched for a valid repo as well.
+
+ Please note that this was the default behaviour in older versions of GitPython,
+ which is considered a bug though.
:raise InvalidGitRepositoryError:
:raise NoSuchPathError:
:return: git.Repo """