Skip to content

Commit

Permalink
index: Add missing 'tree' entry to diff_to_tree docstring argspec
Browse files Browse the repository at this point in the history
It's been missing since the original argspec was added with 5ed9eb4
(Add documentation for conflicts and fixup Index, 2014-07-10).
  • Loading branch information
wking committed Oct 26, 2014
1 parent b8efdde commit 149bb1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygit2/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def diff_to_workdir(self, flags=0, context_lines=3, interhunk_lines=0):
return Diff.from_c(bytes(ffi.buffer(cdiff)[:]), self._repo)

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
Expand Down

0 comments on commit 149bb1e

Please sign in to comment.