From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11315 invoked by alias); 15 Jun 2011 15:47:41 -0000 Received: (qmail 11307 invoked by uid 22791); 15 Jun 2011 15:47:40 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 15 Jun 2011 15:47:27 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 79B7B2BB11F; Wed, 15 Jun 2011 11:47:26 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id KBG2q-KNhLNJ; Wed, 15 Jun 2011 11:47:26 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 4DD7D2BB00B; Wed, 15 Jun 2011 11:47:26 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 2A9F0145615; Wed, 15 Jun 2011 08:47:22 -0700 (PDT) Date: Wed, 15 Jun 2011 15:47:00 -0000 From: Joel Brobecker To: Phil Muldoon Cc: gdb@sourceware.org Subject: Re: ARI/Commit rules Message-ID: <20110615154722.GO5944@adacore.com> References: <20110615152451.GN5944@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-06/txt/msg00107.txt.bz2 > It would be nice to fix those warnings eventually. I believe a pre-commit > hook would only operate on your diffs, though. Anyway we cannot use > that as the GIT repository is read only. So to me, an ideal thing > would be just to run it on my files that I have changed, or even better > a patch I have generated. There might be one technical issue with processing a diff rather than the file (I think some regexp match only at the start of a line), but yeah, that would be much better. > What do you think? I think it would be an improvement indeed. -- Joel