Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f51fe3e

Browse filesBrowse files
committed
Added previously missing parameter documentation for Repo.__init__ .
Related to #255
1 parent 28d6c90 commit f51fe3e
Copy full SHA for f51fe3e

1 file changed

+5Lines changed: 5 additions & 0 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎git/repo/base.py‎

Copy file name to clipboardExpand all lines: git/repo/base.py
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,11 @@ def __init__(self, path=None, odbt=DefaultDBType, search_parent_directories=Fals
121121
Object DataBase type - a type which is constructed by providing
122122
the directory containing the database objects, i.e. .git/objects. It will
123123
be used to access all object data
124+
:param search_parent_directories:
125+
if True, all parent directories will be searched for a valid repo as well.
126+
127+
Please note that this was the default behaviour in older versions of GitPython,
128+
which is considered a bug though.
124129
:raise InvalidGitRepositoryError:
125130
:raise NoSuchPathError:
126131
:return: git.Repo """

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.