Merge remote-tracking branch 'edavis/fix-diff-example'
This commit is contained in:
commit
dc1cfe80e6
@ -211,7 +211,7 @@ A diff shows the changes between trees, an index or the working dir::
|
||||
|
||||
# Diff two trees
|
||||
>>> t0 = repo.head.tree
|
||||
>>> t1 = repo.head.parents[0]
|
||||
>>> t1 = repo.head.parents[0].tree
|
||||
>>> diff = t0.diff(t1)
|
||||
>>> diff
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user