diff options
author | Jeff King <peff@peff.net> | 2015-10-26 17:37:18 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-10-26 14:48:56 -0700 |
commit | f78d1fe208d3db36afecbd8b8a84d6c35391bd0b (patch) | |
tree | 77f69c37562a872c233a4349f0fee1729614fcff /t/t2008-checkout-subdir.sh | |
parent | t6031: move triple-rename test to t3030 (diff) | |
download | tgif-f78d1fe208d3db36afecbd8b8a84d6c35391bd0b.tar.xz |
t6031: generalize for recursive and resolve strategies
This script tests the filemode handling of merge-recursive,
but we do not test the same thing for merge-resolve. Let's
generalize the script a little:
1. Break out the setup steps for each test into a separate
snippet.
2. For each test, run it twice; once with "-s recursive"
and once with "-s resolve". We can avoid repeating
ourselves by adding a function.
3. Since we have a nice abstracted function, we can make
our tests more thorough by testing both directions
(change on "ours" versus "theirs").
This improves our test coverage, and will make this the
place to add more tests related to merging mode changes.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t2008-checkout-subdir.sh')
0 files changed, 0 insertions, 0 deletions