Since git 1.7.4, you can specify the rename threshold for merge as git merge -X rename-threshold=25
in order to control that a similarity of 25% is already enough to consider two files rename candidates. This, depending on the case together with -X ignore-space-change
may make rename detection more reliable.
However, I wanted to have more direct control and was cooking up a related script the last days. Maybe it helps – let me know.