summaryrefslogtreecommitdiff
path: root/connect.h
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2018-04-19 17:58:22 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-05-08 07:11:00 (GMT)
commit05cf21eba29d18eb6cdece25613c6b1b036872d0 (patch)
tree43ee6a8b86c2086c87dc33bf4594999a0fe4e64a /connect.h
parent277292d5ae27993d36f35fdd8d561c369b1e0962 (diff)
downloadgit-05cf21eba29d18eb6cdece25613c6b1b036872d0.zip
git-05cf21eba29d18eb6cdece25613c6b1b036872d0.tar.gz
git-05cf21eba29d18eb6cdece25613c6b1b036872d0.tar.bz2
merge-recursive: make "Auto-merging" comment show for other merges
Previously, merge_content() would print "Auto-merging" whenever the final content and mode aren't already available from HEAD. There are a few problems with this: 1) There are other code paths doing merges that should probably have the same message printed, in particular rename/rename(2to1) which cannot call into the normal rename logic. 2) If both sides of the merge have modifications, then a content merge is needed. It may turn out that the end result matches one of the sides (because the other only had a subset of the same changes), but the merge was still needed. Currently, the message will not print in that case, though it seems like it should. Move the printing of this message to merge_file_1() in order to address both issues. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'connect.h')
0 files changed, 0 insertions, 0 deletions