gitcmds: Flag files with a type change as 'modified'