From: Eugene Sajine <euguess@gmail.com>
To: git@vger.kernel.org
Subject: global hooks - once again
Date: Fri, 2 Jul 2010 12:23:42 -0400 [thread overview]
Message-ID: <AANLkTikXJS5QCXMXgsOfkYn9cMBQV6o23tds5YG3A_OI@mail.gmail.com> (raw)
I have found a thread dated March 2008 about the subject, but there
was no acceptable solution provided.
Template directory doesn't seem to be interesting.
Is there a better way now?
If there is no better way now Is it possible to create a git config
property specifying where the global hooks folder is and then look for
hooks there first and then in the repo or vice versa?
For example, so i could say
$ git config --global hooks.dir ~/git/hooks
It could even attempt to create the specified folder and create
necessary structure in it like below if necesary
/pre-commit
/post-commit
/pre-rebase
/post-rebase
etc...
Thanks,
Eugene
next reply other threads:[~2010-07-02 16:23 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-02 16:23 Eugene Sajine [this message]
2010-07-02 18:03 ` global hooks - once again Jonathan Nieder
2010-07-02 19:30 ` Eugene Sajine
2010-07-02 19:18 ` Junio C Hamano
2010-07-02 19:47 ` Eugene Sajine
2010-07-05 10:03 ` Peter Kjellerstedt
2010-07-06 12:14 ` Alex Riesen
2010-07-06 12:23 ` Eugene Sajine
2010-07-06 14:55 ` Peter Kjellerstedt
2010-07-06 15:00 ` demerphq
2010-07-06 15:32 ` Eugene Sajine
2010-07-06 12:20 ` Eugene Sajine
2010-07-06 14:34 ` demerphq
2010-07-02 20:53 ` Jonathan Nieder
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
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTikXJS5QCXMXgsOfkYn9cMBQV6o23tds5YG3A_OI@mail.gmail.com \
--to=euguess@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.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).