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/select-head-4 | |
| parent | fix doc text (diff) | |
| download | git-rediff-d8de1b23e8ec896759424a2f146969783cdd89e3.tar.gz git-rediff-d8de1b23e8ec896759424a2f146969783cdd89e3.tar.bz2 git-rediff-d8de1b23e8ec896759424a2f146969783cdd89e3.tar.xz | |
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 't/select-head-4')
| -rwxr-xr-x | t/select-head-4 | 22 |
1 files changed, 22 insertions, 0 deletions
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 |
