We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7c96f58 + eb6beb7 commit b307f04Copy full SHA for b307f04
doc/source/tutorial.rst
@@ -393,7 +393,7 @@ Use the diff framework if you want to implement git-status like functionality.
393
394
* A diff between the index and the commit's tree your HEAD points to
395
396
- * use ``repo.index.diff(repo.head)``
+ * use ``repo.index.diff(repo.head.commit)``
397
398
* A diff between the index and the working tree
399
0 commit comments