Received: from eggs.gnu.org ([2001:4830:134:3::10]:44887) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xgsv2-0003sf-NF for qemu-devel@nongnu.org; Wed, 22 Oct 2014 06:13:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xgsuu-0004Ms-7B for qemu-devel@nongnu.org; Wed, 22 Oct 2014 06:13:28 -0400 Received: from e06smtp10.uk.ibm.com ([195.75.94.106]:57262) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xgsut-0004Md-TS for qemu-devel@nongnu.org; Wed, 22 Oct 2014 06:13:20 -0400 Received: from /spool/local by e06smtp10.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 22 Oct 2014 11:13:17 +0100 Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id 36B641B08067 for ; Wed, 22 Oct 2014 11:13:15 +0100 (BST) Received: from d06av01.portsmouth.uk.ibm.com (d06av01.portsmouth.uk.ibm.com [9.149.37.212]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id s9MADEtA57016434 for ; Wed, 22 Oct 2014 10:13:15 GMT Received: from d06av01.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av01.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s9MADE1k026283 for ; Wed, 22 Oct 2014 04:13:14 -0600 Date: Wed, 22 Oct 2014 12:13:12 +0200 From: Thomas Huth Message-ID: <20141022121312.2423cf99@oc7435384737.ibm.com> In-Reply-To: <54477F4E.6020002@redhat.com> References: <1413968902-24094-1-git-send-email-pbonzini@redhat.com> <1413968902-24094-5-git-send-email-pbonzini@redhat.com> <20141022093339.GB9425@redhat.com> <54477F4E.6020002@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 4/4] get_maintainer.pl: point at --git-fallback instead of enabling it automatically List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel , Markus Armbruster , "Michael S. Tsirkin" On Wed, 22 Oct 2014 11:56:30 +0200 Paolo Bonzini wrote: > > > On 10/22/2014 11:33 AM, Michael S. Tsirkin wrote: > > On Wed, Oct 22, 2014 at 11:08:22AM +0200, Paolo Bonzini wrote: > >> The list emitted by --git-fallback often leads inexperienced contributors > >> to add pointless CCs. While not discouraging usage of --git-fallback, > >> we want to warn the contributors about using their common sense. > >> > >> So, default to *not* enabling --git-fallback, but print a message if > >> none of the files has a match against MAINTAINERS. Of course the > >> message is hidden by --no-git-fallback. > >> > >> Examples: > >> > >> 1) No maintainer for all specified files, print message: > >> > >> $ scripts/get_maintainer.pl -f util/cutils.c > >> No maintainers found. > >> You may want to try --git-fallback to find recent contributors. > >> Do not blindly cc: them on patches! Use common sense. > >> > > > > Does it make sense for util/cutils.c? > > I doubt it, so we are just giving useless advice? > > > > --git-blame might be a better fallback here? > > How about an entry in MAINTAINERS to trigger git-blame? > > We cannot know which is better. The right thing to do would be to use > git-blame *manually*, so as to find who touched the function you are > touching now. Maybe you could at least also add "--git-blame" to the message that is printed out here - so in case --git-fallback does not print anything at all due to the 1-year limitation, the user has at least another thing to try? Thomas