diff options
author | Daniel Barkalow <barkalow@iabervon.org> | 2008-02-25 18:24:17 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-02-25 21:28:32 -0800 |
commit | 2bda2cf4f966ae50d08a32a3839f930c1daac907 (patch) | |
tree | 073e68688324f875786d27c3e873648c5a59a484 /builtin-branch.c | |
parent | 552bcac3f9f34833cf546f8c197da4c1985a0b84 (diff) | |
download | git-2bda2cf4f966ae50d08a32a3839f930c1daac907.tar.gz git-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-branch.c')
0 files changed, 0 insertions, 0 deletions