shorten the commit id.