From eb6beb75aaa269a1e7751d389c0826646878e5fc Mon Sep 17 00:00:00 2001 From: Ram Rachum Date: Tue, 28 Jul 2015 00:18:57 +0300 Subject: [PATCH] Fix bug in tutorial --- doc/source/tutorial.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/tutorial.rst b/doc/source/tutorial.rst index 7cc296d83..2533216c9 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