diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2018-07-22 09:57:04 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-07-23 19:50:05 (GMT) |
commit | fa5b7ea670f4c5ee377e7fce799300829eabb291 (patch) | |
tree | d44e4d6dd94bafc77012cbe5cff5b195378830ab /Documentation/git-format-patch.txt | |
parent | b7bd9486b055c3f967a870311e704e3bb0654e4f (diff) | |
download | git-fa5b7ea670f4c5ee377e7fce799300829eabb291.zip git-fa5b7ea670f4c5ee377e7fce799300829eabb291.tar.gz git-fa5b7ea670f4c5ee377e7fce799300829eabb291.tar.bz2 |
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 'Documentation/git-format-patch.txt')
0 files changed, 0 insertions, 0 deletions