changed generation of git-revision.h which allows to keep it up-to-date. Aditionally git-branch info has been added.

This commit is contained in:
2017-02-22 09:42:07 +01:00
parent cc1679144c
commit fca13283e1
16 changed files with 73 additions and 28 deletions

View File

@ -53,7 +53,7 @@ int main( int argc, char ** argv )
cout << endl << endl;
return 0;
} else if (!strcmp(argv[1], "--version") || !strcmp(argv[1], "-v")) {
cout << endl << "musredit git-rev: " << GIT_REVISION;
cout << endl << "musredit git-branch: " << GIT_BRANCH << ", git-rev: " << GIT_CURRENT_SHA1;
cout << endl << endl;
return 0;
}