aboutsummaryrefslogtreecommitdiffstats
path: root/t/combination-2-symmetric
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-09-24 23:19:13 +0200
committerMattias Andrée <m@maandree.se>2026-09-24 23:19:13 +0200
commit9b98f1a9222e5e96949bf74538a97900f2d847b1 (patch)
tree468ab35cb2ac75ef1c48d76189520ee9bad23495 /t/combination-2-symmetric
parentAdd conflcit resultions strategies and interactive mode, and a lot of tests (diff)
downloadgit-rediff-master.tar.gz
git-rediff-master.tar.bz2
git-rediff-master.tar.xz
Add --symmetricHEADmaster
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 't/combination-2-symmetric')
-rwxr-xr-xt/combination-2-symmetric22
1 files changed, 22 insertions, 0 deletions
diff --git a/t/combination-2-symmetric b/t/combination-2-symmetric
new file mode 100755
index 0000000..059897d
--- /dev/null
+++ b/t/combination-2-symmetric
@@ -0,0 +1,22 @@
+#!/bin/sh -e
+. t/common.sh
+
+printf '%s\n' > file \
+ "${HEAD} ours" \
+ same \
+ new \
+ "${PARENT} base" \
+ same \
+ old \
+ "${TAIL}" \
+ same \
+ new \
+ "${END} theirs"
+
+printf '%s\n' > file.expected \
+ same \
+ new
+
+normal --symmetric --symmetric --no-reduce file
+
+also_interactive y