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