Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2015-10-27 00:37:18 +0300
committerJunio C Hamano <gitster@pobox.com>2015-10-27 00:48:56 +0300
commitf78d1fe208d3db36afecbd8b8a84d6c35391bd0b (patch)
tree77f69c37562a872c233a4349f0fee1729614fcff /git-merge-one-file.sh
parent6f50833e98d9d88e331a0d5022130dd3d49cf876 (diff)
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 'git-merge-one-file.sh')
0 files changed, 0 insertions, 0 deletions