summaryrefslogtreecommitdiff
path: root/Documentation/git-format-patch.txt
diff options
context:
space:
mode:
authorEric Sunshine <sunshine@sunshineco.com>2018-07-22 09:57:04 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-07-23 19:50:05 (GMT)
commitfa5b7ea670f4c5ee377e7fce799300829eabb291 (patch)
treed44e4d6dd94bafc77012cbe5cff5b195378830ab /Documentation/git-format-patch.txt
parentb7bd9486b055c3f967a870311e704e3bb0654e4f (diff)
downloadgit-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