From 9b98f1a9222e5e96949bf74538a97900f2d847b1 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 24 Sep 2026 23:19:13 +0200 Subject: Add --symmetric MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- README | 48 +++++++++++++++++++++++++++++++++++------------- 1 file changed, 35 insertions(+), 13 deletions(-) (limited to 'README') diff --git a/README b/README index 0816f27..9940917 100644 --- a/README +++ b/README @@ -2,7 +2,8 @@ NAME git-rediff - Reduce partially resolved merge conflicts SYNOPSIS - git rediff [--no-reduce] [--merge|--select-head|--select-tail] [--remove-base] [-i] [...] + git rediff [--merge|--symmetric|--select-head|--select-tail] + [--remove-base] [--no-reduce] [-i] [...] DESCRIPTION git rediff rewrites files containing merge conflicts to @@ -11,8 +12,8 @@ DESCRIPTION OPTIONS -i --interactive - Interactively select the action for each merge conflict. - See INTERACTIVE COMMANDS. + Interactively select the action for each merge + conflict. See INTERACTIVE COMMANDS. This overrides all other options. @@ -21,24 +22,39 @@ OPTIONS -m --merge - For conflicts with at least three branches, select the sole branch - whose content differs from all other identical branches, but only - if that is the top or bottom branch. + For conflicts with at least three branches, select + the sole branch whose content differs from all other + identical branches, but only if that is the top or + bottom branch. Applied before --remove-base. --no-merge Disable --merge. + -y + --symmetric + When the top and bottom branches are identical, select + their content if all other branches are identical to + each other. + + Applied before --reduce. + + --no-symmetric + Disable --symmetric. + + -r --reduce Enable reduction of remaining conflicts. (Default) --no-reduce - Do not reduce remaining conflicts after --merge, --remove-base, - --select-head, and --select-tail have been applied. + Do not reduce remaining conflicts after --merge, + --remove-base, --select-head, and --select-tail have + been applied. --remove-base - Remove the middle branch from three-way merge conflicts. + Remove the middle branch from three-way merge + conflicts. Applied before --reduce. @@ -46,7 +62,8 @@ OPTIONS Disable --remove-base. --select-head - Resolve each merge conflict by selecting its top branch. + Resolve each merge conflict by selecting its top + branch. Applied before --reduce. @@ -54,7 +71,8 @@ OPTIONS Disable --select-head. --select-tail - Resolve each merge conflict by selecting its bottom branch. + Resolve each merge conflict by selecting its bottom + branch. Applied before --reduce. @@ -71,15 +89,19 @@ INTERACTIVE COMMANDS m Apply merge selection. + y Select symmetric branches. + r Reduce the conflict. e Manually edit the conflict. s Skip the conflict. - d Skip the conflict and all later conflicts in the current file. + d Skip the conflict and all later conflicts in the + current file. - q Quit interaction and skip the conflict and all remaining conflicts. + q Quit interaction and skip the conflict and all + remaining conflicts. ? Display help. -- cgit v1.3.1