Class MergeMessageFormatter
java.lang.Object
org.eclipse.jgit.merge.MergeMessageFormatter
Formatter for constructing the commit message for a merge commit.
The format should be the same as C Git does it, for compatibility.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidaddConflictsMessage(List<String> conflictingPaths, StringBuilder sb) Construct the merge commit message.formatWithConflicts(String message, List<String> conflictingPaths) Add section with conflicting paths to merge message.private static String
-
Constructor Details
-
MergeMessageFormatter
public MergeMessageFormatter()
-
-
Method Details
-
format
-
formatWithConflicts
-
addConflictsMessage
-
joinNames
-