From fa36b1195fd918122f41024c634be04b8b5a5aa4 Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Sat, 13 May 2017 12:52:28 -0400 Subject: [PATCH] - added modification tagging to updaterevision to allow tagging an executable when a source tree is compiled before committing. --- tools/updaterevision/updaterevision.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/updaterevision/updaterevision.c b/tools/updaterevision/updaterevision.c index 7260f4131..bbb6dddf3 100644 --- a/tools/updaterevision/updaterevision.c +++ b/tools/updaterevision/updaterevision.c @@ -51,7 +51,7 @@ int main(int argc, char **argv) // on a tag, it returns that tag. Otherwise it returns --. // 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) {