Skip to content

Commit eb6beb7

Browse files
committed
Fix bug in tutorial
1 parent 7c96f58 commit eb6beb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/tutorial.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ Use the diff framework if you want to implement git-status like functionality.
393393

394394
* A diff between the index and the commit's tree your HEAD points to
395395

396-
* use ``repo.index.diff(repo.head)``
396+
* use ``repo.index.diff(repo.head.commit)``
397397

398398
* A diff between the index and the working tree
399399

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy