aboutsummaryrefslogtreecommitdiffstats
path: root/t/no-reduce-dashdash-dashprefix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xt/no-reduce-dashdash-dashprefix17
1 files changed, 17 insertions, 0 deletions
diff --git a/t/no-reduce-dashdash-dashprefix b/t/no-reduce-dashdash-dashprefix
new file mode 100755
index 0000000..5ddaaed
--- /dev/null
+++ b/t/no-reduce-dashdash-dashprefix
@@ -0,0 +1,17 @@
+#!/bin/sh -e
+. t/common.sh
+
+printf '%s\n' > -file \
+ "${HEAD} HEAD" \
+ same \
+ head \
+ "${TAIL}" \
+ same \
+ tail \
+ "${END} branch"
+
+cp -- -file -file.expected
+
+conflict --no-reduce -- -file
+
+also_interactive s