From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: git pre-commit hook for merges (WAS: master has switched from Automake to GNU Make) Date: Sun, 30 Apr 2017 05:34:28 +0300 Message-ID: <83k262lj2j.fsf@gnu.org> References: <955c464e-5833-10fd-9c02-d7edda70e488@cs.ucla.edu> <83shkrkote.fsf@gnu.org> <83mvazkmk1.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1493519715 10341 195.159.176.226 (30 Apr 2017 02:35:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 30 Apr 2017 02:35:15 +0000 (UTC) Cc: rudalics@gmx.at, yuri.v.khan@gmail.com, eggert@cs.ucla.edu, schwab@suse.de, emacs-devel@gnu.org To: Noam Postavsky Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 30 04:35:08 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d4ehX-0002XC-ND for ged-emacs-devel@m.gmane.org; Sun, 30 Apr 2017 04:35:07 +0200 Original-Received: from localhost ([::1]:43140 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d4ehd-0006I9-JZ for ged-emacs-devel@m.gmane.org; Sat, 29 Apr 2017 22:35:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55051) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d4ehX-0006GQ-FL for emacs-devel@gnu.org; Sat, 29 Apr 2017 22:35:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d4ehW-0005v5-Dz for emacs-devel@gnu.org; Sat, 29 Apr 2017 22:35:07 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40237) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d4ehP-0005rk-Gy; Sat, 29 Apr 2017 22:34:59 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1755 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d4ehN-0005JG-Ut; Sat, 29 Apr 2017 22:34:58 -0400 In-reply-to: (message from Noam Postavsky on Sat, 29 Apr 2017 19:25:17 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:214430 Archived-At: > From: Noam Postavsky > Date: Sat, 29 Apr 2017 19:25:17 -0400 > Cc: Paul Eggert , martin rudalics , > Emacs developers , Andreas Schwab , Yuri Khan > > On Sat, Apr 29, 2017 at 4:04 PM, Eli Zaretskii wrote: > >> > >> My intuition is that getting a commit hook failure from the commit > >> being cherry picked will be less confusing than getting hook failures > >> from one of the many commits being merged from a branch, so I don't > >> think it's worth updating the hook to avoid this case. > > > > I don't think I agree. In fact, I think many users will not even > > realize that cherry-pick merges, and will be surprised. > > Hmm, I'm not sure I entirely understand what you're getting at. What > exactly do you mean by "merges" in this context? I mean that users will be surprised to see the hooks invoked when cherry-picking. I know I was surprised to see the git-merge-changelog utility to be invoked the first time I cherry-picked.