java - How is a merge-base done in JGit? -
I'm looking at the current version 3.5.1.201410131835-r , and I can not Find Equals
I would like to determine whether a branch is up-to-date, backward, forward or different, as shown.
What is the shortest way to find a merge in jeggage as a good general ancestor as possible?
You RevFilter.MERGE_BASE
for:
RevWalk walk = new RevWalk (repository); Walk.setRevFilter (RevFilter.MERGE_BASE); Walk.markStart (commit1); Walk.markStart (commit2); RevCommit merge = walk.next (); Also keep in mind that if you are interested, then the number of any branch is ahead / behind than its tele-television branch.
Comments
Post a Comment