diff options
| author | Mattias Andrée <m@maandree.se> | 2026-09-22 19:53:29 +0200 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-09-22 19:53:29 +0200 |
| commit | d8de1b23e8ec896759424a2f146969783cdd89e3 (patch) | |
| tree | ed1ea3e97add5116230fd2df34e42b829a70ab39 /t/reduce-4-tail | |
| parent | fix doc text (diff) | |
| download | git-rediff-master.tar.gz git-rediff-master.tar.bz2 git-rediff-master.tar.xz | |
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
| -rwxr-xr-x | t/reduce-4-tail | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/t/reduce-4-tail b/t/reduce-4-tail new file mode 100755 index 0000000..752f680 --- /dev/null +++ b/t/reduce-4-tail @@ -0,0 +1,46 @@ +#!/bin/sh -e +. t/common.sh + +printf '%s\n' > file \ + "${HEAD} 1" \ + branch-1-first \ + branch-1-second \ + tail-common-first \ + tail-common-second \ + "${PARENT} 2" \ + branch-2-first \ + branch-2-second \ + tail-common-first \ + tail-common-second \ + "${PARENT} 3" \ + branch-3-first \ + branch-3-second \ + tail-common-first \ + tail-common-second \ + "${TAIL} 4" \ + branch-4-first \ + branch-4-second \ + tail-common-first \ + tail-common-second \ + "${END} 4" + +printf '%s\n' > file.expected \ + "${HEAD} 1" \ + branch-1-first \ + branch-1-second \ + "${PARENT} 2" \ + branch-2-first \ + branch-2-second \ + "${PARENT} 3" \ + branch-3-first \ + branch-3-second \ + "${TAIL} 4" \ + branch-4-first \ + branch-4-second \ + "${END} 4" \ + tail-common-first \ + tail-common-second + +conflict --reduce file + +also_interactive rr |
