diff options
author | Christian Couder <chriscool@tuxfamily.org> | 2010-03-31 21:22:06 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-04-01 11:14:10 -0700 |
commit | 3f9083cde3b434155c274168f166ffce2bb243e7 (patch) | |
tree | 9b491020ae10227723d7ae47860686dec0331376 /thread-utils.h | |
parent | revert: refactor merge recursive code into its own function (diff) | |
download | tgif-3f9083cde3b434155c274168f166ffce2bb243e7.tar.xz |
merge: refactor code that calls "git merge-STRATEGY"
In the try_merge_strategy() function, when the strategy is "recursive"
or "subtree", the merge_recursive() function is called.
Otherwise we launch a "git merge-STRATEGY" process.
To make it possible to reuse code that launches a "git merge-STRATEGY"
process, this patch refactors this code into a new try_merge_command()
function.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'thread-utils.h')
0 files changed, 0 insertions, 0 deletions