public String format(List<RevCommit> squashedCommits, Ref target) {StringBuilder sb = new StringBuilder();sb.append("Squashed commit of the following:\n"); for (RevCommit c : squashedCommits) {sb.append("\ncommit "); sb.append(c.getName());sb.append("\n"); sb.append(toString(c.getAuthorIdent()));sb.append("\n\t"); sb.append(c.getShortMessage());sb.append("\n"); }return sb.toString();}

public virtual string Format(IList<RevCommit> squashedCommits, Ref target){StringBuilder sb = new StringBuilder();sb.Append("Squashed commit of the following:\n");foreach (RevCommit c in squashedCommits){sb.Append("\ncommit ");sb.Append(c.GetName());sb.Append("\n");sb.Append(ToString(c.GetAuthorIdent()));sb.Append("\n\t");sb.Append(c.GetShortMessage());sb.Append("\n");}return sb.ToString();}
