Login
From:
bert hubert finally blogs
(Uncensored)
subscribe
Getting the correct 'git hash' in your binaries w/o needless recompiling or linking
https://bert-hubert.blogspot.com/2013/11/getting-correct-git-hash-in-your.html
links
backlinks
Roast topics
Find topics
Find it!
When processing bug reports, or when people doubt the output of your tools, it is tremendously helpful to know the provenance of the binaries. One way of doing this is to embed the git hash in your code.