| |
|
|
|
|
|
|
|
|
|
| |
The merge happens in the object store, without a worktree, a checkout or
a commit. That fixes a conflict stopping the script before it removed
its worktree, and the removal of .git/worktrees/NAME failing outside the
repository's top directory and in a linked worktree. A conflict now
shows in the diff, as conflict markers. merge-tree knows only git's
default strategy, so GIT_PREVIEW_MERGE_STRATEGY goes. The commit is
checked first, since merge-tree exits with 1, as for a conflict, for a
name it can't resolve.
|