Class AutoMerger


  • public class AutoMerger
    extends Object
    • Method Detail

      • cacheAutomerge

        public static boolean cacheAutomerge​(org.eclipse.jgit.lib.Config cfg)
      • merge

        public org.eclipse.jgit.revwalk.RevCommit merge​(org.eclipse.jgit.lib.Repository repo,
                                                        org.eclipse.jgit.revwalk.RevWalk rw,
                                                        org.eclipse.jgit.lib.ObjectInserter ins,
                                                        org.eclipse.jgit.revwalk.RevCommit merge,
                                                        org.eclipse.jgit.merge.ThreeWayMergeStrategy mergeStrategy)
                                                 throws IOException
        Perform an auto-merge of the parents of the given merge commit.
        Returns:
        auto-merge commit or null if an auto-merge commit couldn't be created. Headers of the returned RevCommit are parsed.
        Throws:
        IOException