#!/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