summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoe Robinson <joe@lc8n.com>2015-12-10 23:27:59 +0000
committerJoe Robinson <joe@lc8n.com>2015-12-10 23:27:59 +0000
commitb8bf8d6b49f1c220095f2768fcfa6d48264d9b42 (patch)
treeb89fbb8b27138d6141b8cd07f1ce8f71444d0550 /src
parent887b25535ae9d7c2d7a0ba34fbbffed63208e6fd (diff)
Fix commit message output
Diffstat (limited to 'src')
-rw-r--r--src/main/java/uk/co/blatech/blaears/controllers/GitPushController.java1
1 files changed, 1 insertions, 0 deletions
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 "});