diff options
| author | Sebastian Thiel <byronimo@gmail.com> | 2015-01-22 12:40:07 +0100 | 
|---|---|---|
| committer | Sebastian Thiel <byronimo@gmail.com> | 2015-01-22 12:40:07 +0100 | 
| commit | b54b9399920375f0bab14ff8495c0ea3f5fa1c33 (patch) | |
| tree | 299f314cef43341964d74a67943512b1aed88028 /git/diff.py | |
| parent | d565a874f29701531ce1fc0779592838040d3edf (diff) | |
| download | gitpython-b54b9399920375f0bab14ff8495c0ea3f5fa1c33.tar.gz | |
Overhauled all tutorials, and placed them in a unit-test.
That way they are protected from regression.
Fixes #239
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() | 
