[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make bootstrap fails: cp: .git/hooks/applypatch-msg.sample: No such

From: Sam Steingold
Subject: Re: make bootstrap fails: cp: .git/hooks/applypatch-msg.sample: No such file or directory
Date: Mon, 26 Jan 2015 21:25:58 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (darwin)

> * Paul Eggert <address@hidden> [2015-01-26 11:31:51 -0800]:
> On 01/26/2015 08:48 AM, Sam Steingold wrote:
>> Running 'autoreconf -fi -I m4' ...
>> Installing git hooks...
>> cp: .git/hooks/applypatch-msg.sample: No such file or directory
> My guess is that the repository was created by an older version of Git.
> Git versions before 1.6.0 didn't create .sample files for hooks.

this is certainly not my case.
I have git version 1.9.3 (Apple Git-50)

> reclone the repository from scratch.

just did, and...

$ ./autogen.sh 
Checking whether you have the necessary tools...
(Read INSTALL.REPO for more details on building Emacs)

Checking for autoconf (need at least version 2.65)...
Checking for automake (need at least version 1.11)...
Your system has the required tools.
Running 'autoreconf -fi -I m4' ...
cd -
configure.ac:760: installing 'build-aux/compile'
configure.ac:139: installing 'build-aux/config.guess'
configure.ac:139: installing 'build-aux/config.sub'
configure.ac:136: installing 'build-aux/install-sh'
configure.ac:136: installing 'build-aux/missing'
lib/Makefile.am: installing 'build-aux/depcomp'
Installing git hooks...
cp: .git/hooks/applypatch-msg.sample: No such file or directory

> You should be able to patch an existing repository built with an older
> Git by running 'chmod a+x .git/hooks/applypatch-msg
> .git/hooks/pre-applypatch; cp .git/hooks/applypatch-msg
> .git/hooks/applypatch-msg.sample; cp .git/hooks/pre-applypatch
> .git/hooks/pre-applypatch.sample' (though I haven't tested this).

emacs$ ls -R .git/hooks/
total 56
8 commit-msg* 8 ctags* 8 post-checkout* 8 post-commit* 8 post-merge*
8 post-rewrite* 8 pre-commit*

Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1343
http://www.childpsy.net/ http://honestreporting.com
http://camera.org http://www.memritv.org http://dhimmi.org
People hear what they want to hear and discard the rest.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]