git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jonathan del Strother" <maillist@steelskies.com>
To: "Victor Bogado da Silva Lins" <victor@bogado.net>
Cc: git@vger.kernel.org
Subject: Re: global hooks
Date: Thu, 20 Mar 2008 01:04:33 +0000	[thread overview]
Message-ID: <57518fd10803191804g7b2ce670xe5d89b53c1bb8f6f@mail.gmail.com> (raw)
In-Reply-To: <1205942671.691.8.camel@omicron.ep.petrobras.com.br>

On Wed, Mar 19, 2008 at 4:04 PM, Victor Bogado da Silva Lins
<victor@bogado.net> wrote:
> Hi, I made a prepare-commit-msg hook today, it basically appends the
>  diff I am about to commit to the commented information that normally
>  appears.
>
>  The problem is that if I want this hook in all projects I have, I have
>  to copy that file to every single project I have. This is an error prone
>  operation, not to mention a pain in the... .
>
>  SO my question is, is there a way to make that hook global to all
>  projects? If not, would it be a good idea to allow this?

I'd love to see something along these lines - at the moment, I have a
precommit hook to drop textmate's caret metadata from the commit file,
and it's a pain having to symlink it into every git repo.

  reply	other threads:[~2008-03-20  1:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-19 16:04 global hooks Victor Bogado da Silva Lins
2008-03-20  1:04 ` Jonathan del Strother [this message]
2008-03-20  2:25 ` Junio C Hamano
2008-03-20 11:20   ` Johan Herland
2008-03-20 12:26     ` Ping Yin
2008-03-20 12:56       ` Johan Herland

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=57518fd10803191804g7b2ce670xe5d89b53c1bb8f6f@mail.gmail.com \
    --to=maillist@steelskies.com \
    --cc=git@vger.kernel.org \
    --cc=victor@bogado.net \
    /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).