summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-12-02 15:29:06 +0000
committertv <tv@krebsco.de>2026-12-02 16:39:05 +0100
commite48a64c9a2922074ed7f5d355a88f1daf3a32362 (patch)
tree379cb2d128324bf41f8f961c5da63eedb26affd3 /lib
parent88153380de45a35831e43f9cbc836b7bb357c490 (diff)
git-preview: merge with git merge-tree
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.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions