Re: post-checkout hook not run on clone
- From
Jeff King <peff@peff.net>
- Date
- Mar 3, 2009, 05:10 UTC
- Message-ID
- <20090303051026.GA21101@coredump.intra.peff.net>
- In-Reply-To
- <23978.1236056549@relay.known.net>
On Mon, Mar 02, 2009 at 09:02:29PM -0800, layer wrote:
Show 5 quoted lines
> 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