Revert short sha1 revision.

This deletion has been introduced on a previous PR.

Added changelog.

Fixed typo.
Merge pull request #1016 from blaugueux/patch-1

Revert short sha1 revision.
Throw exception on git failure, rather than exit silently