git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "John P. Hartmann" <jphartmann@gmail.com>
To: git@vger.kernel.org
Subject: HowTo distribute a hook with the reposity.
Date: Wed, 28 Dec 2016 01:34:48 +0000	[thread overview]
Message-ID: <6e228b75-0208-63e8-b4e8-70905e3f9ea3@gmail.com> (raw)

I would like a hook in .got/hooks to be made available to all who clone 
or pull a particular project.  I'd also like the hook to be under git 
control (changes committed &c).  I added a hook, but git status does not 
show it.  Presumably git excludes its files in .git/ from version 
control lest there be a chiken-and-egg situation.

Is there a way to achieve this?  Or a better way to do it?

Thanks,  j.

             reply	other threads:[~2016-12-28  1:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-28  1:34 John P. Hartmann [this message]
2016-12-28  5:32 ` HowTo distribute a hook with the reposity Jacob Keller
2016-12-28  6:08   ` Jeff King
2016-12-28  8:42     ` John P. Hartmann
2016-12-28  8:52       ` Jeff King
2016-12-28  9:09         ` John P. Hartmann
2016-12-28  9:20           ` Jeff King
2016-12-28 18:53     ` Jacob Keller
2016-12-29 10:29       ` Lars Schneider

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6e228b75-0208-63e8-b4e8-70905e3f9ea3@gmail.com \
    --to=jphartmann@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).