summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2018-09-19 09:14:32 -0700
committerJunio C Hamano <gitster@pobox.com>2018-09-20 12:33:57 -0700
commit75f3fa79c39a39fd6ca5e4bae73df4073ca97bd4 (patch)
treef36ac38593ad7c773f047928c9777eaa3869e82a /commit.h
parent52396e1d3dd1417f042aa5269399bdcffe0a6c66 (diff)
merge-recursive: avoid wrapper function when unnecessary and wasteful
merge_file_one() is a convenience function taking a bunch of oids and modes, combining each pair into a diff_filespec, and then calling merge_file_1(). When we already start with diff_filespec's, we can just call merge_file_1() directly instead of splitting out the oids and modes for the wrapper to recombine into what we already had. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions