aboutsummaryrefslogtreecommitdiffstats
path: root/t/no-reduce-empty-head
diff options
context:
space:
mode:
Diffstat (limited to 't/no-reduce-empty-head')
-rwxr-xr-xt/no-reduce-empty-head16
1 files changed, 16 insertions, 0 deletions
diff --git a/t/no-reduce-empty-head b/t/no-reduce-empty-head
new file mode 100755
index 0000000..95c0338
--- /dev/null
+++ b/t/no-reduce-empty-head
@@ -0,0 +1,16 @@
+#!/bin/sh -e
+. t/common.sh
+
+printf '%s\n' > file \
+ "${HEAD} ours" \
+ "${PARENT} base" \
+ common \
+ "${TAIL}" \
+ common \
+ "${END} theirs"
+
+cp -- file file.expected
+
+conflict --no-reduce file
+
+also_interactive s