Exemple #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);
 }
Exemple #2
0
 public String getCommitCommitterRelativeDate(final String commit) throws Exception {
   return CollectionsFormatter.format(
       runCommand(formatCommand("log", "-1 --pretty=format:%cr " + commit), environment), " ");
 }
Exemple #3
0
 public String getCommitMessageSubject(final String commit) throws Exception {
   return CollectionsFormatter.format(
       runCommand(formatCommand("log", "-1 --pretty=format:%s " + commit), environment), " ");
 }
Exemple #4
0
 public String getCommitAuthorEmail(final String commit) throws Exception {
   return CollectionsFormatter.format(
       runCommand(formatCommand("log", "-1 --pretty=format:%ae " + commit), environment), " ");
 }