diff options
author | Stefan Beller <sbeller@google.com> | 2018-05-15 13:00:28 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-16 10:08:43 +0900 |
commit | 18cfc0886617e28fb6d29d579bec0ffcdb439196 (patch) | |
tree | 70f603f53147672e2a41e3dd4f82f66d3bb80e58 /reachable.c | |
parent | The fifth batch for 2.18 (diff) | |
download | tgif-18cfc0886617e28fb6d29d579bec0ffcdb439196.tar.xz |
submodule.c: move submodule merging to merge-recursive.c
In a later patch we want to improve submodule merging by using the output()
function in merge-recursive.c for submodule merges to deliver a consistent
UI to users.
To do so we could either make the output() function globally available
so we can use it in submodule.c#merge_submodule(), or we could integrate
the submodule merging into the merging code. Choose the later as we
generally want to move submodules closer into the core.
Therefore we move any function related to merging submodules
(merge_submodule(), find_first_merges() and print_commit) to
merge-recursive.c. We'll keep add_submodule_odb() in submodule.c as it
is used by other submodule functions. While at it, add a TODO note that
we do not really like the function add_submodule_odb().
This commit is best viewed with --color-moved.
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'reachable.c')
0 files changed, 0 insertions, 0 deletions