better formatting of commitish in log message