From: Jeff King Date: Tue, 03 Mar 2009 05:10:26 GMT Subject: Re: post-checkout hook not run on clone 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: > 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