Class DiffBranches


  • public class DiffBranches
    extends Object
    Implements the Git Diff command between branches for bare repositories. It needs the repository, and the two branches from that repository you want to diff. It returns a list of DiffFile with differences between branches.
    • Constructor Detail

      • DiffBranches

        public DiffBranches​(Git git,
                            String branchA,
                            String branchB)
    • Method Detail

      • execute

        public List<org.uberfire.java.nio.base.FileDiff> execute()