mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-21 19:51:27 +00:00
- added modification tagging to updaterevision to allow tagging an executable when a source tree is compiled before committing.
This commit is contained in:
parent
b346dd0c09
commit
fa36b1195f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
// on a tag, it returns that tag. Otherwise it returns <most recent tag>-<number of
|
||||||
// commits since the tag>-<short hash>.
|
// 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.
|
// 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)
|
if (NULL != stream)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue