summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/source/tutorial.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/tutorial.rst b/doc/source/tutorial.rst
index 7cc296d8..2533216c 100644
--- a/doc/source/tutorial.rst
+++ b/doc/source/tutorial.rst
@@ -393,7 +393,7 @@ Use the diff framework if you want to implement git-status like functionality.
* A diff between the index and the commit's tree your HEAD points to
- * use ``repo.index.diff(repo.head)``
+ * use ``repo.index.diff(repo.head.commit)``
* A diff between the index and the working tree