Class SquashMessages

java.lang.Object
io.github.jbastgen.stemma.git.api.SquashMessages

public final class SquashMessages extends Object
The default messages of squash operations.
  • Method Details

    • combined

      public static String combined(List<String> summaries)
      Message for a commit that replaces several: the first summary as headline, every summary as a list item.
      Parameters:
      summaries - the summaries of the squashed commits, oldest first
    • forMerge

      public static String forMerge(String branch, List<String> summaries)
      Message for a squash merge of branch; summaries are those of its commits, oldest first.