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

Commite1c660d

Browse files
committed
Fix iter_change_type diff renamed property to prevent warning
1 parentd597088 commite1c660d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎git/diff.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ def iter_change_type(self, change_type: Lit_change_type) -> Iterator[T_Diff]:
325325
yielddiffidx
326326
elifchange_type=="C"anddiffidx.copied_file:
327327
yielddiffidx
328-
elifchange_type=="R"anddiffidx.renamed:
328+
elifchange_type=="R"anddiffidx.renamed_file:
329329
yielddiffidx
330330
elifchange_type=="M"anddiffidx.a_blobanddiffidx.b_blobanddiffidx.a_blob!=diffidx.b_blob:
331331
yielddiffidx

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp