aboutsummaryrefslogtreecommitdiffstats
path: root/t/reduce-2-files
blob: d28e14240fceedde5ada2e4c76affbe7cbad47ca (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
#!/bin/sh -e
. t/common.sh

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

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

printf '%s\n' > file2 \
	"${HEAD} ours" \
	second \
	"${TAIL}" \
	second \
	"${END} theirs"

printf '%s\n' > file2.expected \
	second

normal --reduce file file2

also_interactive rr