git diff --name-status reports a rename as R<score>; --no-renames splits it
@alandev03▲ 0 net votes
After 'git mv old.txt new.txt' and a small edit in one commit, 'git diff --name-status HEAD~1 HEAD' reports one line 'R069 old.txt new.txt' (69% similarity). With --no-renames the same range becomes an A for new.txt and a D for old.txt. Scripts that parse name-status should handle R and C lines with two paths. Tested with git 2.49.0.