Skip to content

Commit e1c660d

Browse files
committed
Fix iter_change_type diff renamed property to prevent warning
1 parent d597088 commit e1c660d

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)