diff options
Diffstat (limited to 't/reduce-2-hunks')
| -rwxr-xr-x | t/reduce-2-hunks | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/t/reduce-2-hunks b/t/reduce-2-hunks new file mode 100755 index 0000000..22146e6 --- /dev/null +++ b/t/reduce-2-hunks @@ -0,0 +1,24 @@ +#!/bin/sh -e +. t/common.sh + +printf '%s\n' > file \ + "${HEAD} ours" \ + first \ + "${TAIL}" \ + first \ + "${END} theirs" \ + between \ + "${HEAD} ours" \ + second \ + "${TAIL}" \ + second \ + "${END} theirs" + +printf '%s\n' > file.expected \ + first \ + between \ + second + +normal --reduce file + +also_interactive rr |
