diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2015-01-22 16:28:29 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2015-01-22 16:28:29 +0100 |
commit | 5ad07f7b23e762e3eb99ce45020375d2bd743fc5 (patch) | |
tree | 08ad8249d4f59c7579fd6458d7b51aafc9c094e6 /git/diff.py | |
parent | 2ce3fe7cef8910aadc2a2b39a3dab4242a751380 (diff) | |
parent | 1410bcc76725b50be794b385006dedd96bebf0fb (diff) | |
download | gitpython-5ad07f7b23e762e3eb99ce45020375d2bd743fc5.tar.gz |
Merge branch 'master' into teeberg-master
Need latest master to proceed with test
Conflicts:
doc/source/tutorial.rst
Diffstat (limited to 'git/diff.py')
-rw-r--r-- | git/diff.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/git/diff.py b/git/diff.py index dfee00e2..37882369 100644 --- a/git/diff.py +++ b/git/diff.py @@ -42,7 +42,7 @@ class Diffable(object): def diff(self, other=Index, paths=None, create_patch=False, **kwargs): """Creates diffs between two items being trees, trees and index or an - index and the working tree. + index and the working tree. It will detect renames automatically. :param other: Is the item to compare us with. @@ -68,8 +68,6 @@ class Diffable(object): :return: git.DiffIndex :note: - Rename detection will only work if create_patch is True. - On a bare repository, 'other' needs to be provided as Index or as as Tree/Commit, or a git command error will occour""" args = list() |