We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, gitversion variable is only updated when you do './configure'. This could have issues if you do something like:
git pull; make
So the code will contain the sha before the pull.
The text was updated successfully, but these errors were encountered:
This stackoverflow answer is, more or less, the behaviour I think 'gitversion' module should have:
http://stackoverflow.com/a/1843783
Sorry, something went wrong.
In fact, it is enough with this Makefile target. Maybe mklove module is overkill?
.PHONY: ... version.c ... version.c: @rm -f $@ @echo "const char *git_revision=\"`git describe --abbrev=6 --tags HEAD --always`\";" >> $@
No branches or pull requests
Currently, gitversion variable is only updated when you do './configure'. This could have issues if you do something like:
So the code will contain the sha before the pull.
The text was updated successfully, but these errors were encountered: