]> git.ipfire.org Git - thirdparty/git.git/commit
shortlog: match commit trailers with --group
authorJeff King <peff@peff.net>
Sun, 27 Sep 2020 08:40:04 +0000 (04:40 -0400)
committerJunio C Hamano <gitster@pobox.com>
Sun, 27 Sep 2020 19:21:05 +0000 (12:21 -0700)
commit47beb37bc60b690e83b19aa7ff646255fb643ad9
tree1bc2159210728f20bd67ac51e01ae2e4f12b5340
parentf0939a0eb157cb23cd300d32ee0bff2f82aa5959
shortlog: match commit trailers with --group

If a project uses commit trailers, this patch lets you use
shortlog to see who is performing each action. For example,
running:

  git shortlog -ns --group=trailer:reviewed-by

in git.git shows who has reviewed. You can even use a custom
format to see things like who has helped whom:

  git shortlog --format="...helped %an (%ad)" \
               --group=trailer:helped-by

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-shortlog.txt
builtin/shortlog.c
shortlog.h
t/t4201-shortlog.sh