git: improve diff algorithm