Teach "apply --index-info" to handle rename patches