From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter Newsgroups: gmane.emacs.devel Subject: Re: build-aux/git-hooks/pre-push Date: Thu, 4 May 2023 09:28:29 -0700 Message-ID: <67ee197b-f0d2-d27d-d1c9-5d2302035c37@gmail.com> References: <875y9cef96.fsf.ref@yahoo.com> <875y9cef96.fsf@yahoo.com> <87ttwspekw.fsf@tcd.ie> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------Xf4IDbM3CZjqHgWa5hmSUdC0" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24763"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Po Lu , emacs-devel@gnu.org To: Basil Contovounesios Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu May 04 18:29:56 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pubq7-0006JE-BH for ged-emacs-devel@m.gmane-mx.org; Thu, 04 May 2023 18:29:55 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pubpQ-0000od-16; Thu, 04 May 2023 12:29:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pubon-0000lm-Tu for emacs-devel@gnu.org; Thu, 04 May 2023 12:28:33 -0400 Original-Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pubom-0008Bx-9D for emacs-devel@gnu.org; Thu, 04 May 2023 12:28:33 -0400 Original-Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-1aafa41116fso4801155ad.1 for ; Thu, 04 May 2023 09:28:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683217710; x=1685809710; h=in-reply-to:from:content-language:references:cc:to:subject :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=2hSrNveibnP7MRYlx6nXqrTtGY7zYJnmVSFap7/EPVc=; b=HK4+xUNSSRrN79/+Vk2nU5r+Zn0jIsDVM3llUdOujlL+k9/mJoQ7xWRySYW+7DNAqI cGk8bPuNJBdlL9UaM3iyQdbkTbyzJpmTZtu4BOjEuVMFhUi1jtgT75SORo8sxBt/pbnT AqF06hNFoKO9ZD/M3osXsCsY/HNcedSKSf6/eHwhED70N3vRLLT0yZMy6mW9VJnAuhZy CtLxcMaijWal8mtsb0bdOEsZlIvplnN3WWdfrwJZfYfbsnZ2OEoUAi0m+heStx3wSD3p HSu/+9Zf0990SHkreLI0QO7PfSXRAxaCbn3qDl5jVRrbB6BA1EH1M2n5jvHG7TosQ4qe XyXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683217710; x=1685809710; h=in-reply-to:from:content-language:references:cc:to:subject :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=2hSrNveibnP7MRYlx6nXqrTtGY7zYJnmVSFap7/EPVc=; b=MWPk7FwkIBaoDeiVhcfv7kD0f2Uvs0xnf9dXd4KzCDTYqIJrpDPM+Joiv62uusG6zr l6hZxax05Jl6re9Wj6GvrR/I3VRFNgJ40axDipYZH0Vl+YRqIqdAd1hyJBAEh81bQeK0 86T8QxSBsi1eo1YNSHtA9CIt1hYYdfdCXAI5wOlWFuD19LenvyrLkjxQ8X+I+VRBb1n2 IqDznEmhJlW0mgTJoeAVJEdAyg6Ya1+A4+K3sPga0ldEPmDbyzJ2v+2mH7VXiIUixUPr rYAJU9B1Q6Qv1nCbLyxXByS2a3kwuF/WhBWw556JudVxSy5A6h3rqCSYcDiKDI5FPmXi YAWw== X-Gm-Message-State: AC+VfDyIrxJc6+Sxtqc2qG1zUIVg1Wk/KfR1XOMW5EoPT+HZ/j24+5Uc 4oBaLR7RKSULzwS4srQKDuE= X-Google-Smtp-Source: ACHHUZ7GOhoxJVKVXDA5p0DBd9MN84jDod41uw5gyUtcIRU5fwe15NTiSVOvTyCGA/1EB6Az9ZnCzw== X-Received: by 2002:a17:902:e548:b0:1a6:a327:67e1 with SMTP id n8-20020a170902e54800b001a6a32767e1mr4904324plf.57.1683217710190; Thu, 04 May 2023 09:28:30 -0700 (PDT) Original-Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id jj22-20020a170903049600b001aafe4f9b8esm7022173plb.180.2023.05.04.09.28.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 May 2023 09:28:29 -0700 (PDT) Content-Language: en-US In-Reply-To: <87ttwspekw.fsf@tcd.ie> Received-SPF: pass client-ip=2607:f8b0:4864:20::62a; envelope-from=jporterbugs@gmail.com; helo=mail-pl1-x62a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:305832 Archived-At: This is a multi-part message in MIME format. --------------Xf4IDbM3CZjqHgWa5hmSUdC0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 5/4/2023 3:37 AM, Basil Contovounesios wrote: > So maybe we should be defensive about the existence of this hook? > Or am I doing something wrong? I guess that's what I get for just trusting the Git manual instead of verifying that my fix worked. How about this? --------------Xf4IDbM3CZjqHgWa5hmSUdC0 Content-Type: text/plain; charset=UTF-8; name="0001-Fix-post-commit-and-pre-push-hooks-in-worktrees-agai.patch" Content-Disposition: attachment; filename*0="0001-Fix-post-commit-and-pre-push-hooks-in-worktrees-agai.pa"; filename*1="tch" Content-Transfer-Encoding: base64 RnJvbSBkM2VjNjhmNWU0MzNlNTc5MmMxYzYzNjcyYzdiNDM3YmIyOWM1NzU5IE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBKaW0gUG9ydGVyIDxqcG9ydGVyYnVnc0BnbWFpbC5j b20+CkRhdGU6IFRodSwgNCBNYXkgMjAyMyAwOToyMjo0MCAtMDcwMApTdWJqZWN0OiBbUEFU Q0hdIDsgRml4IHBvc3QtY29tbWl0IGFuZCBwcmUtcHVzaCBob29rcyBpbiB3b3JrdHJlZXMg YWdhaW4KCiogYnVpbGQtYXV4L2dpdC1ob29rcy9wb3N0LWNvbW1pdDoKKiBidWlsZC1hdXgv Z2l0LWhvb2tzL3ByZS1wdXNoOiBVc2UgIiQoZGlybmFtZSAkMCkiIHRvIGdldCB0aGUgaG9v a3MKZGlyZWN0b3J5LgotLS0KIGJ1aWxkLWF1eC9naXQtaG9va3MvcG9zdC1jb21taXQgfCA0 ICsrKy0KIGJ1aWxkLWF1eC9naXQtaG9va3MvcHJlLXB1c2ggICAgfCA0ICsrKy0KIDIgZmls ZXMgY2hhbmdlZCw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