threads / discuss / 47228

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

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

## tl;dr

2 messages between Nov 17, 2017 and Nov 17, 2017.

replies: 1people: 2as markdown or json

Robert P. J. Day· Nov 17, 2017, 09:15 UTC · lore
  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· Nov 17, 2017, 17:16 UTC · re: Robert P. J. Day · lore

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

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

← back to recent threads