all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sam Steingold <sds@gnu.org>
To: emacs-devel@gnu.org
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	[thread overview]
Message-ID: <m2386wj5hc.fsf@sds-MacBook-Pro.home> (raw)
In-Reply-To: 83ppa0p1h2.fsf@gnu.org

> * Eli Zaretskii <ryvm@tah.bet> [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!




  parent reply	other threads:[~2015-01-27 21:09 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-26 16:48 make bootstrap fails: cp: .git/hooks/applypatch-msg.sample: No such file or directory Sam Steingold
2015-01-26 19:31 ` Paul Eggert
2015-01-27  2:25   ` Sam Steingold
2015-01-27  5:37     ` Paul Eggert
2015-01-27  5:46       ` Sam Steingold
2015-01-27  6:50         ` Paul Eggert
2015-01-27  7:57           ` chad
2015-01-27  9:11           ` Jan D.
2015-01-27 17:39             ` Eli Zaretskii
2015-01-27 18:07               ` Jan D.
2015-01-27 20:59                 ` Sam Steingold
2015-01-27 21:09               ` Sam Steingold [this message]
2015-01-27 22:44                 ` Paul Eggert
2015-01-27 17:53           ` Sam Steingold

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2386wj5hc.fsf@sds-MacBook-Pro.home \
    --to=sds@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.