diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2018-07-22 12:57:04 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-07-23 22:50:05 +0300 |
commit | fa5b7ea670f4c5ee377e7fce799300829eabb291 (patch) | |
tree | d44e4d6dd94bafc77012cbe5cff5b195378830ab /revision.h | |
parent | b7bd9486b055c3f967a870311e704e3bb0654e4f (diff) |
format-patch: allow additional generated content in make_cover_letter()
make_cover_letter() returns early when it lacks sufficient state to emit
a diffstat, which makes it difficult to extend the function to reliably
emit additional generated content. Work around this shortcoming by
factoring diffstat-printing logic out to its own function and calling it
as needed without otherwise inhibiting normal control flow.
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'revision.h')
0 files changed, 0 insertions, 0 deletions