| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -393,7 +393,7 @@ Use the diff framework if you want to implement git-status like functionality. | |||
| 393 | 393 | ||
| 394 | 394 | * A diff between the index and the commit's tree your HEAD points to | |
| 395 | 395 | ||
| 396 | - * use ``repo.index.diff(repo.head)`` | ||
| 396 | + * use ``repo.index.diff(repo.head.commit)`` | ||
| 397 | 397 | ||
| 398 | 398 | * A diff between the index and the working tree | |
| 399 | 399 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments