blob: 796f613ef8e996310a925adef33903a495649d8c (
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} ours" \
first \
"${PARENT} base" \
not first \
"${TAIL}" \
not first \
"${END} theirs" \
"${HEAD} ours" \
ours \
common \
"${PARENT} base" \
base \
common \
"${TAIL}" \
theirs \
common \
"${END} theirs"
printf '%s\n' > file.expected \
first \
ours \
common
normal --select-head --reduce file
also_interactive hh
|