abbreviate commit ID