index: Add missing 'tree' entry to diff_to_tree docstring argspec
It's been missing since the original argspec was added with 5ed9eb4
(Add documentation for conflicts and fixup Index, 2014-07-10).
This commit is contained in:
@@ -241,7 +241,7 @@ class Index(object):
|
|||||||
return Diff.from_c(bytes(ffi.buffer(cdiff)[:]), self._repo)
|
return Diff.from_c(bytes(ffi.buffer(cdiff)[:]), self._repo)
|
||||||
|
|
||||||
def diff_to_tree(self, tree, flags=0, context_lines=3, interhunk_lines=0):
|
def diff_to_tree(self, tree, flags=0, context_lines=3, interhunk_lines=0):
|
||||||
"""diff_to_tree(flags=0, context_lines=3, interhunk_lines=0) -> Diff
|
"""diff_to_tree(tree, flags=0, context_lines=3, interhunk_lines=0) -> Diff
|
||||||
|
|
||||||
Diff the index against a tree
|
Diff the index against a tree
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user