diff options
author | Jeff King <peff@peff.net> | 2020-09-27 04:40:07 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-09-27 12:21:05 -0700 |
commit | f17b0b99bf2dc2fcd74544ce35d058e558e6b056 (patch) | |
tree | 9bdcbc31e0f5d80caaa399b0ec1a5e32444b5d13 /wrapper.c | |
parent | shortlog: match commit trailers with --group (diff) | |
download | tgif-f17b0b99bf2dc2fcd74544ce35d058e558e6b056.tar.xz |
shortlog: de-duplicate trailer values
The current documentation is vague about what happens with
--group=trailer:signed-off-by when we see a commit with:
Signed-off-by: One
Signed-off-by: Two
Signed-off-by: One
We clearly should credit both "One" and "Two", but should "One" get
credited twice? The current code does so, but mostly because that was
the easiest thing to do. It's probably more useful to count each commit
at most once. This will become especially important when we allow
values from multiple sources in a future patch.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'wrapper.c')
0 files changed, 0 insertions, 0 deletions