]> git.ipfire.org Git - thirdparty/git.git/commit
shortlog: extract `shortlog_finish_setup()`
authorTaylor Blau <me@ttaylorr.com>
Mon, 24 Oct 2022 18:55:41 +0000 (14:55 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Oct 2022 21:48:05 +0000 (14:48 -0700)
commit10538e2a627b8ab14f977c868f2975a2acb4ed4d
tree44001bf8b105e72b881458a26d9b2943b189926e
parent3dc95e09e1355ebde472bd5be37aa7b29ef774d3
shortlog: extract `shortlog_finish_setup()`

Extract a function which finishes setting up the shortlog struct for
use. The caller in `make_cover_letter()` does not care about trailer
sorting, so it isn't strictly necessary to add a call there in this
patch.

But the next patch will add additional functionality to the new
`shortlog_finish_setup()` function, which the caller in
`make_cover_letter()` will care about.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/log.c
builtin/shortlog.c
shortlog.h