Merge remote-tracking branch 'wking/default-signature-attribute'

This commit is contained in:
J. David Ibáñez
2014-10-27 13:20:10 +01:00

View File

@@ -29,7 +29,7 @@ You can now inspect the index file for conflicts and get back to the
user to resolve if there are. Once there are no conflicts left, you
can create a commit with these two parents.
>>> user = repo.default_signature()
>>> user = repo.default_signature
>>> tree = repo.index.write_tree()
>>> new_commit = repo.create_commit('HEAD', user, user, tree,
[repo.head.target, other_branch_tip])