Re: Is there any way to make hooks part of the repository?

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

 



On 1 May 2012 13:57, Randal L. Schwartz <merlyn@xxxxxxxxxxxxxx> wrote:
>>>>>> "Junio" == Junio C Hamano <gitster@xxxxxxxxx> writes:
>
> Junio> By design.  Do you want me to include "rm -fr ~hilco" in some hook of
> Junio> git.git repository?
>
> This just came up yesterday at $PRIMARY_CLIENT.  One idea we kicked
> around was having a convention for storing the hooks-to-be-populated in
> ".githooks" in the repository tree, and then having clone notice that
> and offer to install them directly if from a trusted source, or at least
> move them into a disabled state in .git/hooks otherwise.

I guess it would have to be more than just clone. You are quite likely
to update/add hooks later on.
--
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]