aboutsummaryrefslogtreecommitdiffstats
path: root/t/reduce-3-none
blob: 9083c885d7ca7e515bbd70e94c0c4490fcc5d0af (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' > file \
	"${HEAD} 1" \
	branch-1-first \
	branch-1-second \
	"${PARENT} 2" \
	branch-2-first \
	branch-2-second \
	"${TAIL} 3" \
	branch-3-first \
	branch-3-second \
	"${END} 3"

printf '%s\n' > file.expected \
	"${HEAD} 1" \
	branch-1-first \
	branch-1-second \
	"${PARENT} 2" \
	branch-2-first \
	branch-2-second \
	"${TAIL} 3" \
	branch-3-first \
	branch-3-second \
	"${END} 3"

conflict --reduce file

also_interactive rr