]> git.ipfire.org Git - thirdparty/git.git/commit - merge-ort.c
merge-ort: implement format_commit()
authorElijah Newren <newren@gmail.com>
Fri, 1 Jan 2021 02:34:46 +0000 (02:34 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 4 Jan 2021 18:40:45 +0000 (10:40 -0800)
commit70f19c7fced2ec49fd9bca827370835d84d782c7
tree02cacd4c2cea1d63a4c4cee27cc68dd3c862008b
parentc73cda76b104795d1455ecbf031a18045ab37a84
merge-ort: implement format_commit()

This implementation is based on a mixture of print_commit() and
output_commit_title() from merge-recursive.c so that it can be used to
take over both functions.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
merge-ort.c