author | Daniel Barkalow <barkalow@iabervon.org> | |
Mon, 25 Feb 2008 23:24:17 +0000 (18:24 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 26 Feb 2008 05:28:32 +0000 (21:28 -0800) | ||
commit | 2bda2cf4f966ae50d08a32a3839f930c1daac907 | |
tree | 073e68688324f875786d27c3e873648c5a59a484 | tree | snapshot |
parent | 552bcac3f9f34833cf546f8c197da4c1985a0b84 | commit | diff |
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>
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>
builtin-log.c | diff | blob | history |