summaryrefslogtreecommitdiffstats
path: root/eurephiadm/commands/buildinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'eurephiadm/commands/buildinfo.c')
-rw-r--r--eurephiadm/commands/buildinfo.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/eurephiadm/commands/buildinfo.c b/eurephiadm/commands/buildinfo.c
index 57ca9b6..aa518a4 100644
--- a/eurephiadm/commands/buildinfo.c
+++ b/eurephiadm/commands/buildinfo.c
@@ -81,7 +81,12 @@ int cmd_BuildInfo(eurephiaCTX *ctx, eurephiaSESSION *sess, eurephiaVALUES *cfg,
" System info: " BUILDSYSTEM "\n");
#ifdef BUILDBRANCH
printf(" git branch: " BUILDBRANCH "\n"
- " git commit: " BUILDGITREV "\n\n");
+ " git commit: " BUILDGITREV "\n");
+ if( GITSTATE != 0 ) {
+ printf(" Uncommitted changes to the git tree:\n"
+ MODIFIEDFILES);
+ }
#endif
+ printf("\n");
return 0;
}