Putting the git information into a generated sourcefile prevents recompiling the whole project after each commit.