diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2015-07-28 08:48:18 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2015-07-28 08:48:18 +0200 |
commit | b307f04218e87b814fb57bd9882374a9f2b52922 (patch) | |
tree | e4e9229ba7202884028e0969b37a8e1ec5eeec44 | |
parent | 7c96f5885e1ec1e24b0f8442610de42bd8e168d0 (diff) | |
parent | eb6beb75aaa269a1e7751d389c0826646878e5fc (diff) | |
download | gitpython-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.rst | 2 |
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 |