# is there a rationale for some sample hooks but not others?

2 messages from 2017-11-17 to 2017-11-17. Participants: Robert P. J. Day, Jonathan Nieder.
Thread: https://gitlist.dev/t/47228

## Robert P. J. Day, 2017-11-17 09:15

Subject: is there a rationale for some sample hooks but not others?
Message-ID: <alpine.LFD.2.21.1711170114080.6483@localhost.localdomain>
URL: https://gitlist.dev/e/alpine.LFD.2.21.1711170114080.6483%40localhost.localdomain

```

  given that a newly-initialized repo contains samples for some hooks
but not others, is there a simple rationale for why those particular
sample hooks are provided, and not the rest? just curious.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

```

## Jonathan Nieder, 2017-11-17 17:16

Subject: Re: is there a rationale for some sample hooks but not others?
Message-ID: <20171117171609.3lwjlrhm43o3pqir@aiede.mtv.corp.google.com>
URL: https://gitlist.dev/e/20171117171609.3lwjlrhm43o3pqir%40aiede.mtv.corp.google.com
In-Reply-To: <alpine.LFD.2.21.1711170114080.6483@localhost.localdomain>

```
Hi Robert,

Robert P. J. Day wrote:

> given that a newly-initialized repo contains samples for some hooks
> but not others, is there a simple rationale for why those particular
> sample hooks are provided, and not the rest?

I assume this is in the context of reviewing the Pro Git book.  Thanks
for doing this work.

Let me turn the question around: do you think it would be useful to
have samples for all hook types?  What would you like those samples to
look like?

Thanks,
Jonathan

```
