summaryrefslogtreecommitdiff
path: root/builtin-add.c
diff options
context:
space:
mode:
authorLibravatar Daniel Barkalow <barkalow@iabervon.org>2008-02-25 18:24:17 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-02-25 21:28:32 -0800
commit2bda2cf4f966ae50d08a32a3839f930c1daac907 (patch)
tree073e68688324f875786d27c3e873648c5a59a484 /builtin-add.c
parentAdd API access to shortlog (diff)
downloadtgif-2bda2cf4f966ae50d08a32a3839f930c1daac907.tar.xz
Improve collection of information for format-patch --cover-letter
Use the "boundary" feature to find the origin (or find that there are multiple origins), and use the actual list of commits to pass to shortlog. This makes all cover letter include shortlogs, and all cover letters for series with a single boundary commit include diffstats (if there are multiple boundary commits it's unclear what would be meaningful as a diffstat). Note that the single boundary test is empirical, not theoretical; even a -2 limiting condition will give a diffstat if there's only one boundary commit in this particular case. Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Diffstat (limited to 'builtin-add.c')
0 files changed, 0 insertions, 0 deletions