- added modification tagging to updaterevision to allow tagging an executable when a source tree is compiled before committing.

This commit is contained in:
Rachael Alexanderson 2017-05-13 12:52:28 -04:00
parent b346dd0c09
commit fa36b1195f
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ int main(int argc, char **argv)
// on a tag, it returns that tag. Otherwise it returns <most recent tag>-<number of
// commits since the tag>-<short hash>.
// Use git log to get the time of the latest commit in ISO 8601 format and its full hash.
stream = popen("git describe --tags && git log -1 --format=%ai*%H", "r");
stream = popen("git describe --tags --dirty=-m && git log -1 --format=%ai*%H", "r");
if (NULL != stream)
{