Re: [PATCH v6] Add new git-related helper to contrib
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- May 20, 2013, 01:47 UTC
- Message-ID
- <CAPig+cQV4goutofOhHBYtc1SfEChdOwYvXpcv+pxyZd8qVNZdQ@mail.gmail.com>
- In-Reply-To
- <1368978823-18247-1-git-send-email-felipe.contreras@gmail.com>
On Sun, May 19, 2013 at 11:53 AM, Felipe Contreras <felipe.contreras@gmail.com> wrote:
> This script find people that might be interested in a patch, by going
s/find/finds/
Show 26 quoted lines
> back through the history for each single hunk modified, and finding > people that reviewed, acknowledge, signed, or authored the code the > patch is modifying. > > It does this by running 'git blame' incrementally on each hunk, and then > parsing the commit message. After gathering all the relevant people, it > groups them to show what exactly was their role when the participated in > the development of the relevant commit, and on how many relevant commits > they participated. They are only displayed if they pass a minimum > threshold of participation. > > For example: > > % git related 0001-remote-hg-trivial-cleanups.patch > Felipe Contreras <felipe.contreras@gmail.com> > Jeff King <peff@peff.net> > Max Horn <max@quendi.de> > Junio C Hamano <gitster@pobox.com> > > Thus it can be used for 'git send-email' as a cc-cmd. > > There might be some other related functions to this script, not just to > be used as a cc-cmd. > > Comments-by: Ramkumar Ramachandra <artagnon@gmail.com> > Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>