# Re: \[PATCH\] clone: run post-checkout hook when checking out

- From: Jeff King \<hidden\>
- Date: 2016-06-15 22:46:19 
- List: git
- Page: https://ratatoskr.run/git/2016/06/7402249
- Thread: https://ratatoskr.run/git/2016/06/7402245/t.md

```text
On Mon, Mar 02, 2009 at 10:45:09PM -0800, Junio C Hamano wrote:

> > Junio, I'm not sure what you want to do with this. It is definitely a
> > behavior change; we have never respected post-checkout hooks in shell
> > git-clone.sh or in the builtin version. However, it seems like an
> > omission rather than an intentional behavior, so I consider this a
> > bugfix.
> 
> I do not mind queueing this to 'pu' and let people fight it out.  I hate
> the local side hooks that have no reason to be there, and consider that
> the existence of the "checkout hook" to be a bug to begin with, but I
> really don't care that deeply anymore.

That sounds fine to me. I don't personally care either way (I didn't
even know we had a post-checkout hook until today).

-Peff
```
