show commit in truncated format