summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRam Rachum <ram@rachum.com>2015-07-28 00:18:57 +0300
committerRam Rachum <ram@rachum.com>2015-07-28 00:18:57 +0300
commiteb6beb75aaa269a1e7751d389c0826646878e5fc (patch)
treee4e9229ba7202884028e0969b37a8e1ec5eeec44
parent7c96f5885e1ec1e24b0f8442610de42bd8e168d0 (diff)
downloadgitpython-eb6beb75aaa269a1e7751d389c0826646878e5fc.tar.gz
Fix bug in tutorial
-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