diff options
author | Marija Savtchouk <mariasavtchouk@google.com> | 2021-01-21 15:08:57 +0000 |
---|---|---|
committer | Marija Savtchouk <mariasavtchouk@google.com> | 2021-02-09 15:26:03 +0000 |
commit | 1b9911d9ae23f14a7e7a5330c47e63a99fe1469d (patch) | |
tree | 201020923318b4ad1ff72727f1e6ba606e330c13 /org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.10.target | |
parent | fe4b2a46563ec2006106ee2318dbf27dfcdef3c5 (diff) | |
download | jgit-1b9911d9ae23f14a7e7a5330c47e63a99fe1469d.tar.gz jgit-1b9911d9ae23f14a7e7a5330c47e63a99fe1469d.zip |
Allow dir/file conflicts in virtual base commit on recursive merge.
If RecursiveMerger finds multiple base commits, it tries to compute
the virtual ancestor to use as a base for the three way merge.
Currently, the content conflicts between ancestors are ignored (file
staged with the conflict markers). If the path is a file in one ancestor
and a dir in the other, it results in NoMergeBaseException
(CONFLICTS_DURING_MERGE_BASE_CALCULATION).
Allow these conflicts by ignoring this unmerged path in the virtual
base. The merger will compute diff in the children instead and it
can be further fixed manually if needed.
Change-Id: Id59648ae1d6bdf300b26fff513c3204317b755ab
Signed-off-by: Marija Savtchouk <mariasavtchouk@google.com>
Diffstat (limited to 'org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.10.target')
0 files changed, 0 insertions, 0 deletions