Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitb307f04

Browse files
committed
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.
2 parents7c96f58 +eb6beb7 commitb307f04

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)

[8]ページ先頭

©2009-2025 Movatter.jp