aboutsummaryrefslogtreecommitdiffstats
path: root/t/symmetric-3-empty-head
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/symmetric-3-empty-head
parentAdd conflcit resultions strategies and interactive mode, and a lot of tests (diff)
downloadgit-rediff-9b98f1a9222e5e96949bf74538a97900f2d847b1.tar.gz
git-rediff-9b98f1a9222e5e96949bf74538a97900f2d847b1.tar.bz2
git-rediff-9b98f1a9222e5e96949bf74538a97900f2d847b1.tar.xz
Add --symmetricHEAD1.2master
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 't/symmetric-3-empty-head')
-rwxr-xr-xt/symmetric-3-empty-head16
1 files changed, 16 insertions, 0 deletions
diff --git a/t/symmetric-3-empty-head b/t/symmetric-3-empty-head
new file mode 100755
index 0000000..af61802
--- /dev/null
+++ b/t/symmetric-3-empty-head
@@ -0,0 +1,16 @@
+#!/bin/sh -e
+. t/common.sh
+
+printf '%s\n' > file \
+ "${HEAD} ours" \
+ "${PARENT} 2" \
+ 2 \
+ "${TAIL}" \
+ 2 \
+ "${END} theirs"
+
+cp -- file file.expected
+
+conflict --symmetric --no-reduce file
+
+also_interactive y