From f51fe3e66d358e997f4af4e91a894a635f7cb601 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Mon, 9 Feb 2015 21:05:41 +0100 Subject: Added previously missing parameter documentation for Repo.__init__ . Related to #255 --- git/repo/base.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'git') 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 """ -- cgit v1.2.3