cap commit hash length at 40