diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2015-01-10 18:22:48 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2015-01-10 18:22:48 +0100 |
commit | 96c6ab4f7572fd5ca8638f3cb6e342d5000955e7 (patch) | |
tree | 5f5bf29b1e866892796cffe61d0bc71d00321823 /doc/source/changes.rst | |
parent | bfce49feb0be6c69f7fffc57ebdd22b6da241278 (diff) | |
download | gitpython-96c6ab4f7572fd5ca8638f3cb6e342d5000955e7.tar.gz |
Added search_parent_directories keyword argument to Repo type.
Now by default, we will not walk up the directory structure and possibly find
git directories that the user didn't intend to find.
If required, that kind of behaviour can be turned back on.
Fixes #65
Diffstat (limited to 'doc/source/changes.rst')
-rw-r--r-- | doc/source/changes.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/source/changes.rst b/doc/source/changes.rst index b4535a69..67384eb9 100644 --- a/doc/source/changes.rst +++ b/doc/source/changes.rst @@ -8,6 +8,7 @@ Changelog * diff() can now properly detect renames, both in patch and raw format. Previously it only worked when create_patch was True. * repo.odb.update_cache() is now called automatically after fetch and pull operations. In case you did that in your own code, you might want to remove your line to prevent a double-update that causes unnecessary IO. * A list of all fixed issues can be found here: https://github.com/gitpython-developers/GitPython/issues?q=milestone%3A%22v0.3.5+-+bugfixes%22+ +* `Repo(path)` will not automatically search upstream anymore and find any git directory on its way up. If you need that behaviour, you can turn it back on using the new `search_parent_directories=True` flag when constructing a `Repo` object. 0.3.4 - Python 3 Support ======================== |