D-Programming-Language/dmd — pull request #1737 by leandro-lucarella-sociomantic (2013-03-11 16:10:13+00:00)
Title: Include -devel-HASH(-dirty) in the version string

When not compiled with `make release=1`, the version string will include
a suffix with the exact version information based on the git hash. Also,
if the current working tree is dirty (it have uncommitted changed) an
extra suffix will be added (-dirty).

When using `make release=1` only the version information present in the
VERSION file will be used.