Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

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

From: Hilco Wijbenga <hidden>
Date: 2016-06-15 22:53:42

On 1 May 2012 13:33, Junio C Hamano [off-list ref] wrote:
Hilco Wijbenga [off-list ref] writes:
quoted
Is there any way to get (some of) the Git hooks to run for everyone
without everyone having to install them separately? If no, is this by
design or simply a feature nobody has asked for (yet)?
By design.  Do you want me to include "rm -fr ~hilco" in some hook of
git.git repository?
Mmm, well, I might get quite famous if you did... ;-)

But if you wanted to be evil then you could easily find another place
(the build scripts, the code itself, et cetera). So I don't think this
is a good argument. Moreover, I do not work with people that would
ever consider such nastiness. You need to realize that this is all
closed source. Your argument would be more valid in an open source
environment (like git.git).

So let's just say that I'm stubborn or I like living on the edge. :-)
Is there any way to have the hooks run for everyone?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help