From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: Re: pre-push signature hook error reporting [was Re: [PATCH v6] gnu: python-sphinx: Update to 1.4.8.] Date: Tue, 17 Jan 2017 15:55:42 +0100 Message-ID: <587E306E.7010407@crazy-compilers.com> References: <20170105161431.9803-1-dannym@scratchpost.org> <878tqpjw93.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> <8760lj5eb6.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> <20170113152400.GA24322@jasmine> <20170117031414.GB23513@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54624) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cTVAs-0002mu-K4 for guix-devel@gnu.org; Tue, 17 Jan 2017 09:55:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cTVAo-00084z-Ov for guix-devel@gnu.org; Tue, 17 Jan 2017 09:55:50 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:47890) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cTVAo-00084U-8N for guix-devel@gnu.org; Tue, 17 Jan 2017 09:55:46 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3v2tSw714Pz3hmvp for ; Tue, 17 Jan 2017 15:55:44 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3v2tSw5ttzzvkWx for ; Tue, 17 Jan 2017 15:55:44 +0100 (CET) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id nNwLOA6UvrQ6 for ; Tue, 17 Jan 2017 15:55:43 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-46-244-157-46.dynamic.mnet-online.de [46.244.157.46]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Tue, 17 Jan 2017 15:55:43 +0100 (CET) Received: from [192.168.110.2] (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 9BD8B604E8 for ; Tue, 17 Jan 2017 15:55:42 +0100 (CET) In-Reply-To: <20170117031414.GB23513@jasmine> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel Am 17.01.2017 um 04:14 schrieb Leo Famulari: > with `git verify-commit $(git rev-list HEAD)`. This is what the pre-push As far as I understand the example hook, it would be possible to do something like git verify-commit $(git rev-list $remote_sha..$local_sha) this would only verify the commits which are going to be pushed. -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |