From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 92310 invoked by alias); 9 Nov 2017 17:53:42 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Received: (qmail 92281 invoked by uid 89); 9 Nov 2017 17:53:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=confusing, irrelevant X-Spam-User: qpsmtpd, 3 recipients X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 09 Nov 2017 17:53:40 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 6958856737; Thu, 9 Nov 2017 12:53:38 -0500 (EST) 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 kxdgcXS68Vmy; Thu, 9 Nov 2017 12:53:38 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 35DE556734; Thu, 9 Nov 2017 12:53:38 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 6AE7E83060; Thu, 9 Nov 2017 09:53:36 -0800 (PST) Date: Fri, 10 Nov 2017 09:52:00 -0000 From: Joel Brobecker To: binutils@sourceware.org, gdb-patches@sourceware.org, newlib@sourceware.org, valgrind-developers@lists.sourceforge.net Subject: FYI - git-hooks updates to be deployed Message-ID: <20171109175336.jc5bvd6ils5pqg4n@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: NeoMutt/20170113 (1.7.2) X-SW-Source: 2017/txt/msg01103.txt.bz2 Hello, Just a quick heads up to let everyone know that I'm about to update the git-hooks on sourceware. I think the more interesting change is: - disable all checks (revision log, style) for commits created with "git revert". This uses a bit of a heuristic to identify those, but the idea is to avoid having additional roadblocks when trying to quickly revert a change which is known to be sufficiently problematic to need the revert. https://sourceware.org/gdb/wiki/GitHooksUsersGuide#A.22Revert.22_commits Other changes, probably mostly irrelevant for the most part: - Add support for hooks.no-style-checks config option (I believe we don't do automated style-checking, at least not in binutils-gdb.git, so probably not relevant) - [AdaCore-specific] For repositories where a ticket number is required (hooks.tn-required set to True), the word "minor" in the revision log no longer waves that requirement. Instead, users are expected to use "no-tn-check", which is less likely to be used accidentally, and is also more explicit. - [Gerrit] Create an error when creating a branch where there is a .gitreview file pointing to a branch with a different name. This is mostly to remind users that when they create a new branch and push it, they should remember to update the defaultbranch in their .gitreview as well. Otherwise, things can become extremely confusing to users very quickly. - Some minor cleanups with no associated behavior change. -- Joel