aboutsummaryrefslogtreecommitdiffstats
path: root/t/reduce-2-tail
blob: fb125f8e6f23498651a75dac144fc2bc7bc1a8d8 (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 \
	tail-common-first \
	tail-common-second \
	"${TAIL} 2" \
	branch-2-first \
	branch-2-second \
	tail-common-first \
	tail-common-second \
	"${END} 2"

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

conflict --reduce file

also_interactive rr