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