From: Ingo Molnar <mingo@elte.hu>
To: Christian Couder <chriscool@tuxfamily.org>
Cc: git@vger.kernel.org, Junio C Hamano <gitster@pobox.com>
Subject: Re: git-bisect feature suggestion: "git-bisect diff"
Date: Tue, 11 Dec 2007 10:24:46 +0100 [thread overview]
Message-ID: <20071211092446.GA4703@elte.hu> (raw)
In-Reply-To: <200712080636.12982.chriscool@tuxfamily.org>
* Christian Couder <chriscool@tuxfamily.org> wrote:
> Tell us if you have other scripts or suggestions related to
> git-bisect.
not strictly git-bisect related, but i've got the git-authors oneliner
script below that i find very useful when figuring out whom to mail to
related to a bug in any given kernel subsystem. For example when i see
some USB problem i can do:
git-authors v2.6.23.. drivers/usb/
which gives me the most active (and hence most relevant) developers in
an area:
9 Pete Zaitcev <zaitcev@redhat.com>
10 Inaky Perez-Gonzalez <inaky@linux.intel.com>
12 David Brownell <david-b@pacbell.net>
12 Oliver Neukum <oliver@neukum.org>
23 Alan Cox <alan@lxorguk.ukuu.org.uk>
49 Alan Stern <stern@rowland.harvard.edu>
with an email to pick up. In terms of accuracy this beats the
MAINTAINERS file most of the time. And even when MAINTAINERS is accurate
- in this particular case there are 48 'USB' related entries in the
MAINTAINERS file - totally hard to sort out for a newbie.
git-authors is also much easier and more natural to use - when i find
problems it's usually related to a file, and i can run this:
$ git-authors v2.6.23.. kernel/pid.c
1 Eric W. Biederman <ebiederm@xmission.com>
1 Pavel Emelianov <xemul@openvz.org>
1 Serge E. Hallyn <serue@us.ibm.com>
3 Sukadev Bhattiprolu <sukadev@us.ibm.com>
10 Pavel Emelyanov <xemul@openvz.org>
which works on a very finegrained level and gives a better "overview"
than a pure git-log. Perhaps this could be a --authorstats option of
git-log perhaps?
Ingo
---------{ git-authors }--------->
#!/bin/bash
git-log $@ | grep Author: | cut -d: -f2 | sort | uniq -c | sort -n
next prev parent reply other threads:[~2007-12-11 9:25 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-07 9:34 git-bisect feature suggestion: "git-bisect diff" Ingo Molnar
2007-12-07 9:58 ` Junio C Hamano
2007-12-07 10:25 ` Junio C Hamano
2007-12-07 11:21 ` Ingo Molnar
2007-12-07 19:28 ` Junio C Hamano
2007-12-07 19:46 ` Ingo Molnar
2007-12-07 21:34 ` Jeff King
2007-12-07 21:35 ` Jeff King
2007-12-07 21:44 ` Junio C Hamano
2007-12-07 21:55 ` Jeff King
2007-12-07 22:03 ` Junio C Hamano
2007-12-07 22:07 ` Jeff King
2007-12-08 2:54 ` Junio C Hamano
2007-12-08 5:36 ` Christian Couder
2007-12-08 15:29 ` Ingo Molnar
2007-12-09 5:33 ` git-bisect run make -j64 kernel/ (was Re: git-bisect feature suggestion: "git-bisect diff") Christian Couder
2007-12-12 9:43 ` Ingo Molnar
2007-12-11 9:24 ` Ingo Molnar [this message]
2007-12-11 9:29 ` git-bisect feature suggestion: "git-bisect diff" Pierre Habouzit
2007-12-11 10:13 ` Jakub Narebski
2007-12-11 11:59 ` Pierre Habouzit
2007-12-11 12:25 ` Jeff King
2007-12-11 12:33 ` Jeff King
2007-12-11 14:05 ` Ingo Molnar
2007-12-11 14:43 ` [PATCH] Invert numbers and names in the git-shortlog summary mode Pierre Habouzit
2007-12-11 14:57 ` Ingo Molnar
2007-12-11 15:24 ` Pierre Habouzit
2007-12-11 15:34 ` Nicolas Pitre
2007-12-11 18:09 ` Junio C Hamano
2007-12-11 15:48 ` Ingo Molnar
2007-12-11 16:07 ` Pierre Habouzit
2007-12-11 16:11 ` Pierre Habouzit
2007-12-11 21:13 ` Ingo Molnar
2007-12-11 22:21 ` Junio C Hamano
2007-12-11 17:58 ` Junio C Hamano
2007-12-11 10:17 ` git-bisect feature suggestion: "git-bisect diff" Ingo Molnar
-- strict thread matches above, loose matches on Subject: below --
2007-12-11 22:22 しらいしななこ
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071211092446.GA4703@elte.hu \
--to=mingo@elte.hu \
--cc=chriscool@tuxfamily.org \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).