From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.devel Subject: Re: make bootstrap fails: cp: .git/hooks/applypatch-msg.sample: No such file or directory Date: Tue, 27 Jan 2015 16:09:19 -0500 Organization: disorganization Message-ID: References: <54C69627.60702@cs.ucla.edu> <54C72415.5080507@cs.ucla.edu> <54C73536.3080009@cs.ucla.edu> <54C75658.7000804@swipnet.se> <83ppa0p1h2.fsf@gnu.org> Reply-To: sds@gnu.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1422393177 27792 80.91.229.3 (27 Jan 2015 21:12:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Jan 2015 21:12:57 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 27 22:12:57 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YGDRQ-0006tB-1O for ged-emacs-devel@m.gmane.org; Tue, 27 Jan 2015 22:12:56 +0100 Original-Received: from localhost ([::1]:50004 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGDRP-00010B-3B for ged-emacs-devel@m.gmane.org; Tue, 27 Jan 2015 16:12:55 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57726) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGDOA-0006Mi-B3 for emacs-devel@gnu.org; Tue, 27 Jan 2015 16:09:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGDO6-000701-4E for emacs-devel@gnu.org; Tue, 27 Jan 2015 16:09:34 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:33735) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGDO5-0006zT-UL for emacs-devel@gnu.org; Tue, 27 Jan 2015 16:09:30 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YGDO2-0002RU-OX for emacs-devel@gnu.org; Tue, 27 Jan 2015 22:09:26 +0100 Original-Received: from pool-108-41-26-229.nycmny.fios.verizon.net ([108.41.26.229]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Jan 2015 22:09:26 +0100 Original-Received: from sds by pool-108-41-26-229.nycmny.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Jan 2015 22:09:26 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 40 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-108-41-26-229.nycmny.fios.verizon.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (darwin) X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Cancel-Lock: sha1:c1qTspcw8tTLmLrThcbpJAOgoT0= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:181858 Archived-At: > * Eli Zaretskii [2015-01-27 19:39:21 +0200]: > > So maybe something happened to /usr/share/git-core/templates/hooks > directory (or wherever it is on OS X) on Sam's machine. What do you > (Sam) see there? $ ls /usr/local/share/git-core/templates/hooks/ total 80 8 applypatch-msg.sample* 8 post-update.sample* 8 pre-commit.sample* 16 pre-rebase.sample* 8 update.sample* 8 commit-msg.sample* 8 pre-applypatch.sample* 8 pre-push.sample* 8 prepare-commit-msg.sample* > Or maybe Sam has an alias that calls "git init" with --template > option, pointing it to a non-standard place. (What does > "git config -l" display?) aha!!! I do have --8<---------------cut here---------------start------------->8--- [init] templatedir = ~/.git-templates --8<---------------cut here---------------end--------------->8--- in .gitconfig; removing it fixed the problem. Sorry. Now, the reason I have the .git-templates is to call ctags after each git operation; I thought that those things were cumulative with the system-provided git hooks. I wonder if I can keep my ctags hooks and get the new git *.sample scripts too. Thanks! -- Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1343 http://www.childpsy.net/ http://truepeace.org http://camera.org http://thereligionofpeace.com http://ffii.org http://memri.org -Nervous? -Yes! -First time? -No, I've been nervous before!