public class SquashMessageFormatter
extends java.lang.Object
The format should be the same as C Git does it, for compatibility.
| Modifier and Type | Field and Description |
|---|---|
private GitDateFormatter |
dateFormatter |
| Constructor and Description |
|---|
SquashMessageFormatter()
Create a new squash message formatter.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
format(java.util.List<RevCommit> squashedCommits,
Ref target)
Construct the squashed commit message.
|
private java.lang.String |
toString(PersonIdent author) |
private GitDateFormatter dateFormatter
public SquashMessageFormatter()
public java.lang.String format(java.util.List<RevCommit> squashedCommits, Ref target)
squashedCommits - the squashed commitstarget - the target branchprivate java.lang.String toString(PersonIdent author)