When I rename a file it shows as a new file and once committed it then shows the previous file as deleted. So 2 commits and no context.
To get the file to show as refactored you have to do a soft rollback to the previous commit, "reset - mixed". Not ideal!