BUILD: report commit ID in git versions as well
authorWilly Tarreau <w@1wt.eu>
Wed, 16 Jul 2014 09:38:52 +0000 (11:38 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Jul 2014 09:38:52 +0000 (11:38 +0200)
commit3745950a6b976e39a6506f2424dc4d84a0c5a092
treeba41d542c8fe2117f73b4ca2d1e5a7f5d1c8c73c
parentbbfd1a25eea2d840ee96ba7066476c96bbcf5d6b
BUILD: report commit ID in git versions as well

Currently, the commit ID appears in the sub-version in snapshots, but
when people use the git repository, we only have the commits count,
and not the last commit ID, which requires to count commits when
troubleshooting. This change ensures that unreleased versions also
report the commit ID before the commit number, such as :

      1.6-dev0-bbfd1a-50

Tagged versions will not have this, since the post-release commit count
is zero.
Makefile