{"push_id":1466271989,"size":1,"distinct_size":1,"ref":"refs/heads/pr-fix-git-hash","head":"2cadbddbabb1075bed0cbecdc06bf1c522ff8fe9","before":"ef004f76bf7c1d0c37b85b2e71c5b0c559858561","commits":[{"sha":"2cadbddbabb1075bed0cbecdc06bf1c522ff8fe9","author":{"name":"Lucas De Marchi","email":"ed84ea788a25ddb3a9bc2ea2b4e929b162b8ba08@intel.com"},"message":"cmake: fix update of git hashes\n\nSince the git hashes were being generate by cmake it would only be\ngenerated if the header file was not present. Simple test:\n\n    $ make aerofc-v1_default\n    $ touch a\n    $ git add a\n    $ git commit -m tmp\n    $ make aerofc-v1_default\n\nThe file build_aerofc-v1_default/build_git_version.h should have the new\nhashes and the correspondent .c/c.pp files should be rebuilt, but they\naren't.  The end result is that checking the version with \"ver git\" in\nthe nsh console will point to the wrong commit.\n\nThis moves the generation of the header to a separate tool and enforces\nthe command to be executed every time.","distinct":true,"url":"https://api.github.com/repos/lucasdemarchi/Firmware/commits/2cadbddbabb1075bed0cbecdc06bf1c522ff8fe9"}]}
{"actor":{"display_login":"lucasdemarchi"}}