From d8de1b23e8ec896759424a2f146969783cdd89e3 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 22 Sep 2026 19:53:29 +0200 Subject: Add conflcit resultions strategies and interactive mode, and a lot of tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- t/select-head-4 | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 t/select-head-4 (limited to 't/select-head-4') diff --git a/t/select-head-4 b/t/select-head-4 new file mode 100755 index 0000000..6c9c9dd --- /dev/null +++ b/t/select-head-4 @@ -0,0 +1,22 @@ +#!/bin/sh -e +. t/common.sh + +printf '%s\n' > file \ + "${HEAD} head" \ + head \ + "${PARENT} 2" \ + second \ + "${PARENT} 3" \ + third \ + "${PARENT} 4" \ + fourth \ + "${TAIL}" \ + tail \ + "${END} tail" + +printf '%s\n' > file.expected \ + head + +normal --select-head --no-reduce file + +also_interactive h -- cgit v1.3.1