aboutsummaryrefslogtreecommitdiffstats
path: root/t/no-option-select-head-yes-then-select-tail-yes-no
blob: 7bc5924b751b0f1b44f5dba9df02eca753d568be (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh -e
. t/common.sh

printf '%s\n' > file \
	"${HEAD} ours" \
	ours \
	"${PARENT} base" \
	base \
	"${TAIL}" \
	theirs \
	"${END} theirs"

printf '%s\n' > file.expected \
	ours

normal --select-head --select-tail --no-select-tail --no-reduce file

also_interactive h