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

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

```text
Quoting Jay Soffian [ref]:

> On Tue, Mar 3, 2009 at 1:45 AM, Junio C Hamano [ref] wrote:
>> 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
>
> I just want to clarify: do you mean to say that none of the local side
> hooks have any reason to be there, or that some of the local hooks do
> not belong, and checkout is one of those?

There are five valid reasons you might want a hook to a git operation.

http://thread.gmane.org/gmane.comp.version-control.git/70781/focus=71069

-- 
Nanako Shiraishi
http://ivory.ap.teacup.com/nanako3/
```
