Example #1
0
 public String getCommitMessage(final String commit, final String delim) throws Exception {
   return CollectionsFormatter.format(
       runCommand(formatCommand("log", "-1 --pretty=format:%B " + commit), environment), delim);
 }
Example #2
0
 public String getCommitCommitterRelativeDate(final String commit) throws Exception {
   return CollectionsFormatter.format(
       runCommand(formatCommand("log", "-1 --pretty=format:%cr " + commit), environment), " ");
 }
Example #3
0
 public String getCommitMessageSubject(final String commit) throws Exception {
   return CollectionsFormatter.format(
       runCommand(formatCommand("log", "-1 --pretty=format:%s " + commit), environment), " ");
 }
Example #4
0
 public String getCommitAuthorEmail(final String commit) throws Exception {
   return CollectionsFormatter.format(
       runCommand(formatCommand("log", "-1 --pretty=format:%ae " + commit), environment), " ");
 }