diff options
author | Elijah Newren <newren@gmail.com> | 2018-09-19 09:14:34 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-09-20 12:33:57 -0700 |
commit | d95735567550e87c8e58a92126c45f1a3875603a (patch) | |
tree | 5a5d5c4f267331c8e2a5c0ed91b085469da4948f /t/t4013/diff.format-patch_--attach_--stdout_initial..master | |
parent | merge-recursive: remove final remaining caller of merge_file_one() (diff) | |
download | tgif-d95735567550e87c8e58a92126c45f1a3875603a.tar.xz |
merge-recursive: rename merge_file_1() and merge_content()
Summary:
merge_file_1() -> merge_mode_and_contents()
merge_content() -> handle_content_merge()
merge_file_1() is a very unhelpful name. Rename it to
merge_mode_and_contents() to reflect what it does.
merge_content() calls merge_mode_and_contents() to do the main part of
its work, but most of this function was about higher level stuff, e.g.
printing out conflict messages, updating skip_worktree bits, checking
for ability to avoid updating the working tree or for D/F conflicts
being in the way, etc. Since there are several handle_*() functions for
similar levels of checking and handling in merge-recursive.c (e.g.
handle_change_delete(), handle_rename_rename_2to1()), let's rename this
function to handle_content_merge().
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.format-patch_--attach_--stdout_initial..master')
0 files changed, 0 insertions, 0 deletions