diff options
| author | Eric Sunshine <sunshine@sunshineco.com> | 2018-07-22 05:57:04 -0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2018-07-23 12:50:05 -0700 |
| commit | fa5b7ea670f4c5ee377e7fce799300829eabb291 (patch) | |
| tree | d44e4d6dd94bafc77012cbe5cff5b195378830ab /range-diff.c | |
| parent | Third batch for 2.19 cycle (diff) | |
| download | git-fa5b7ea670f4c5ee377e7fce799300829eabb291.tar.gz git-fa5b7ea670f4c5ee377e7fce799300829eabb291.zip | |
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 'range-diff.c')
0 files changed, 0 insertions, 0 deletions
