summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2015-07-28 08:48:18 +0200
committerSebastian Thiel <byronimo@gmail.com>2015-07-28 08:48:18 +0200
commitb307f04218e87b814fb57bd9882374a9f2b52922 (patch)
treee4e9229ba7202884028e0969b37a8e1ec5eeec44
parent7c96f5885e1ec1e24b0f8442610de42bd8e168d0 (diff)
parenteb6beb75aaa269a1e7751d389c0826646878e5fc (diff)
downloadgitpython-b307f04218e87b814fb57bd9882374a9f2b52922.tar.gz
Merge pull request #329 from cool-RR/patch-2
Be explicit about usage of commit of head-ref in index diff call. There is no need to do this, but it won't hurt either.
-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