| Modifier and Type | Field and Description |
|---|---|
| public final int | MAX_BASES
The maximum number of merge bases. |
| Access | Constructor and Description |
|---|---|
| protected | RecursiveMerger(Repository
a local, boolean org. object.a boolean. inCore)Normal recursive merge when you want a choice of DirCache placement inCore |
| protected | RecursiveMerger(Repository
a local)org. object.Normal recursive merge, implies not inCore |
| protected | RecursiveMerger(ObjectInserter
an inserter, Config org. object.the repository configuration config)Normal recursive merge, implies inCore. |
| Modifier and Type | Method and Description |
|---|---|
| private RevCommit | Returns: a new commit visible only within this merger's RevWalk.the tree this commit should capture tree, List<RevCommit> the list of parent commits parents)Create a new commit by explicitly specifying the content tree and the parents. |
| private String | |
| protected RevCommit | getBaseCommit(RevCommit
the first commit in a, RevCommit sourceObjects.the second commit in b)sourceObjects.Overrides org. Return the merge base of two commits. |
| protected RevCommit | Returns: the merge base of two commits. If a criss-cross merge required a synthetic merge base this commit is visible only the merger's RevWalk and will not be in the repository.the first commit to be merged a, RevCommit the second commit to be merged b, int the callDepth when this method is called recursively callDepth)Get a single base commit for two given commits. |
| private static PersonIdent |
| MAX_BASES | back to summary |
|---|---|
| public final int MAX_BASES The maximum number of merge bases. This merge will stop when the number of merge bases exceeds this value | |
| RecursiveMerger | back to summary |
|---|---|
| protected RecursiveMerger(Repository local, boolean inCore) Normal recursive merge when you want a choice of DirCache placement inCore
| |
| RecursiveMerger | back to summary |
|---|---|
| protected RecursiveMerger(Repository local) Normal recursive merge, implies not inCore
| |
| RecursiveMerger | back to summary |
|---|---|
| protected RecursiveMerger(ObjectInserter inserter, Config config) Normal recursive merge, implies inCore.
| |
| createCommitForTree | back to summary |
|---|---|
| private RevCommit createCommitForTree(ObjectId tree, List<RevCommit> parents) throws IOException Create a new commit by explicitly specifying the content tree and the parents. The commit message is not set and author/committer are set to the current user.
| |
| failingPathsMessage | back to summary |
|---|---|
| private String failingPathsMessage() | |
| getBaseCommit | back to summary |
|---|---|
| protected RevCommit getBaseCommit(RevCommit a, RevCommit b) throws IncorrectObjectTypeException, IOException Overrides org. Doc from org. Return the merge base of two commits. Get a single base commit for two given commits. If the two source commits have more than one base commit recursively merge the base commits together until you end up with a single base commit.
| |
| getBaseCommit | back to summary |
|---|---|
| protected RevCommit getBaseCommit(RevCommit a, RevCommit b, int callDepth) throws IOException Get a single base commit for two given commits. If the two source commits have more than one base commit recursively merge the base commits together until a virtual common base commit has been found.
| |
| mockAuthor | back to summary |
|---|---|
| private static PersonIdent mockAuthor(List<RevCommit> parents) | |