The previous check relied on the tail command in order to strip the first line of git rev-list containing the commit hash. However, the command worked only for single line commit messages. git log gives essentially the same output, so use it instead.
The previous check relied on the tail command in order to strip the first line of git rev-list containing the commit hash. However, the command worked only for single line commit messages. git log gives essentially the same output, so use it instead.