Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit eb6beb7

Browse filesBrowse files
committed
Fix bug in tutorial
1 parent 7c96f58 commit eb6beb7
Copy full SHA for eb6beb7

1 file changed

+1-1Lines changed: 1 addition & 1 deletion

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/source/tutorial.rst‎

Copy file name to clipboardExpand all lines: doc/source/tutorial.rst
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.