commit: allow --pretty= args to be abbreviated