Re: global hooks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 19, 2008 at 4:04 PM, Victor Bogado da Silva Lins
<victor@xxxxxxxxxx> 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.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux