git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff King <peff@peff.net>
To: layer <layer@known.net>
Cc: git@vger.kernel.org
Subject: Re: post-checkout hook not run on clone
Date: Tue, 3 Mar 2009 00:10:26 -0500	[thread overview]
Message-ID: <20090303051026.GA21101@coredump.intra.peff.net> (raw)
In-Reply-To: <23978.1236056549@relay.known.net>

On Mon, Mar 02, 2009 at 09:02:29PM -0800, layer wrote:

> The hook in question was in /usr/share/git-core/templates/hooks/, so
> it would get setup on clone.  That works fine.  If I immediately
> switch branches, the hook gets called.  It's just the `post-clone'
> (when I assume something like `checkout' is done), the hook doesn't
> get called.

Ah, OK. I misunderstood. Then that is a bug, IMHO. Patch in a minute.

-Peff

  reply	other threads:[~2009-03-03  5:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-02 22:43 post-checkout hook not run on clone layer
2009-03-03  4:28 ` Jeff King
2009-03-03  5:02   ` layer
2009-03-03  5:10     ` Jeff King [this message]
2009-03-03  5:37     ` [PATCH] clone: run post-checkout hook when checking out Jeff King
2009-03-03  6:45       ` Junio C Hamano
2009-03-03  6:55         ` Jay Soffian
2009-03-03 10:07           ` Nanako Shiraishi
2009-03-03  7:03         ` Jeff King
2009-03-04  5:01       ` layer
2009-03-03  5:04   ` post-checkout hook not run on clone Shawn O. Pearce

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=20090303051026.GA21101@coredump.intra.peff.net \
    --to=peff@peff.net \
    --cc=git@vger.kernel.org \
    --cc=layer@known.net \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).