aboutsummaryrefslogtreecommitdiffstats
path: root/t/reduce-empty-tail
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-09-22 19:53:29 +0200
committerMattias Andrée <m@maandree.se>2026-09-22 19:53:29 +0200
commitd8de1b23e8ec896759424a2f146969783cdd89e3 (patch)
treeed1ea3e97add5116230fd2df34e42b829a70ab39 /t/reduce-empty-tail
parentfix doc text (diff)
downloadgit-rediff-master.tar.gz
git-rediff-master.tar.bz2
git-rediff-master.tar.xz
Add conflcit resultions strategies and interactive mode, and a lot of testsHEAD1.1master
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-rwxr-xr-xt/reduce-empty-tail16
1 files changed, 16 insertions, 0 deletions
diff --git a/t/reduce-empty-tail b/t/reduce-empty-tail
new file mode 100755
index 0000000..a1ce3df
--- /dev/null
+++ b/t/reduce-empty-tail
@@ -0,0 +1,16 @@
+#!/bin/sh -e
+. t/common.sh
+
+printf '%s\n' > file \
+ "${HEAD} ours" \
+ common \
+ "${PARENT} base" \
+ common \
+ "${TAIL}" \
+ "${END} theirs"
+
+cp -- file file.expected
+
+conflict --reduce file
+
+also_interactive r