The format should be the same as C Git does it, for compatibility.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| public String | |
| public String | Returns: merge message with conflicting paths addedthe original merge message message, Iterable<String> the paths with conflicts conflictingPaths, char comment character to use for prefixing the conflict lines commentChar)Add section with conflicting paths to merge message. |
| private static String |
| MergeMessageFormatter | back to summary |
|---|---|
| public MergeMessageFormatter() | |
| addConflictsMessage | back to summary |
|---|---|
| private static void addConflictsMessage(Iterable<String> conflictingPaths, StringBuilder sb, char commentChar) | |
| format | back to summary |
|---|---|
| public String format(List<Ref> refsToMerge, Ref target) Construct the merge commit message. | |
| formatWithConflicts | back to summary |
|---|---|
| public String formatWithConflicts(String message, Iterable<String> conflictingPaths, char commentChar) Add section with conflicting paths to merge message. | |
| joinNames | back to summary |
|---|---|
| private static String joinNames(List<String> names, String singular, String plural) | |