I think instead of doing this test here, the `actually_split` parameter that is passed to this function should be based on `FLAG_SET(&opts, GIT_DIFF_BREAK_REWRITES) && !FLAG_SET(&opts, GIT_DIFF_FIND_REWRITES_FOR_RENAMES_ONLY)` which is actually at the bottom of `git_diff_find_similar()`.