From b8bf8d6b49f1c220095f2768fcfa6d48264d9b42 Mon Sep 17 00:00:00 2001 From: Joe Robinson Date: Thu, 10 Dec 2015 23:27:59 +0000 Subject: Fix commit message output --- src/main/java/uk/co/blatech/blaears/controllers/GitPushController.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/main/java/uk/co/blatech/blaears/controllers/GitPushController.java b/src/main/java/uk/co/blatech/blaears/controllers/GitPushController.java index 85592c8..2e8020b 100644 --- a/src/main/java/uk/co/blatech/blaears/controllers/GitPushController.java +++ b/src/main/java/uk/co/blatech/blaears/controllers/GitPushController.java @@ -26,6 +26,7 @@ public class GitPushController { if (StringUtils.isNotEmpty(commitMsg)) { commitMsg += ", "; } + commitMsg += commit.getMessage(); } //DANGER Runtime.getRuntime().exec(new String[]{"/bin/bash", "-c", "echo theblueroom " + pushMsg.getUserName() + " pushed to " + pushMsg.getRepository().getName() + ": "+ commitMsg + " | bash /home/smsd/msgrelay.bash "}); -- cgit v1.2.3