aboutsummaryrefslogtreecommitdiffstats
path: root/t/select-head-multiple-files
blob: ba103a16a7019672f7c856d1746da7eaa08515f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/sh -e
. t/common.sh

printf '%s\n' > first \
	"${HEAD} first" \
	first-head \
	"${TAIL}" \
	first-tail \
	"${END}"

printf '%s\n' > first.expected \
	first-head

printf '%s\n' > second \
	before \
	"${HEAD} second" \
	second-head \
	"${PARENT} middle" \
	second-middle \
	"${TAIL}" \
	second-tail \
	"${END}"

printf '%s\n' > second.expected \
	before \
	second-head

normal --select-head --no-reduce first second

also_interactive hh