use only 10 digits for git SHA in vcs_info like github
enable patch- and nopatch-format for git