On 30/01/18 22:30, Borneq wrote:
> If GnuC have macro that put to code info about current git commit hash?
I would recommend avoiding such things. When I check out code from a
repository and re-build, I want bit-for-bit identical builds. That way
I know everything is correct, everything works, there is no need for any
new testing or qualifications.
Different people and different types of programming have different
needs, of course - but you should consider carefully if this is really a
feature you want. It is easy to get things wrong, and impossible to
check that you always get it right.
<
https://wiki.debian.org/ReproducibleBuilds>