Content-Length: 259687 | pFad | http://github.com/gitpython-developers/GitPython/commit/a6977b701c6770bd3811317d6109579526139769

3F Fix iter_change_type diff renamed property to prevent warning · gitpython-developers/GitPython@a6977b7 · GitHub
Skip to content

Commit a6977b7

Browse files
Fix iter_change_type diff renamed property to prevent warning
1 parent 9fbfb71 commit a6977b7

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
yield diffidx
326326
elif change_type == "C" and diffidx.copied_file:
327327
yield diffidx
328-
elif change_type == "R" and diffidx.renamed:
328+
elif change_type == "R" and diffidx.renamed_file:
329329
yield diffidx
330330
elif change_type == "M" and diffidx.a_blob and diffidx.b_blob and diffidx.a_blob != diffidx.b_blob:
331331
yield diffidx

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/gitpython-developers/GitPython/commit/a6977b701c6770bd3811317d6109579526139769

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy