Skip to content

feature: allow enabling 3-way merge when applying a patch#2200

Merged
love-linger merged 1 commit intosourcegit-scm:developfrom
CrabNickolson:apply-patch-3way-merge
Mar 18, 2026
Merged

feature: allow enabling 3-way merge when applying a patch#2200
love-linger merged 1 commit intosourcegit-scm:developfrom
CrabNickolson:apply-patch-3way-merge

Conversation

@CrabNickolson
Copy link

Allow enabling the --3way merge option when applying a patch to a repository.

This can be very helpful if a patch can not be cleanly applied, as it will still do a partial merge and allow you to resolve merge conflicts manually.

image

@love-linger love-linger self-assigned this Mar 18, 2026
@love-linger love-linger added the enhancement New feature or request label Mar 18, 2026
@love-linger love-linger merged commit 71e34ec into sourcegit-scm:develop Mar 18, 2026
love-linger added a commit that referenced this pull request Mar 18, 2026
- Use `string extra` parameter instead of adding a new `bool threeWayMerge` in `Commands.Apply`.
- Add missing translations for Chinese

Signed-off-by: leo <[email protected]>
@CrabNickolson CrabNickolson deleted the apply-patch-3way-merge branch March 18, 2026 08:27
heartacker pushed a commit to heartacker/sourcegit that referenced this pull request Mar 23, 2026
heartacker pushed a commit to heartacker/sourcegit that referenced this pull request Mar 23, 2026
- Use `string extra` parameter instead of adding a new `bool threeWayMerge` in `Commands.Apply`.
- Add missing translations for Chinese

Signed-off-by: leo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants