add isRename and isChangeMode on a diff File