Thread (1 message) 1 message, 1 author, 2019-01-06

Re: Git extra hook, pre-upload

From: Jeff King <hidden>
Date: 2019-01-06 06:07:52

[re-add git@vger cc]

On Sat, Jan 05, 2019 at 01:47:11PM +0900, Xheroz 128 wrote:
Thank you for all your replies. I have read the thread from 2011 and
understand the reason of the insecure part using pre and post upload
hooks.
But for my project I would still like to use pre-upload hook. But I do
not know how to enable the ALLOW_INSECURE_HOOKS in my system. How to
configure it?
We never actually merged that patch, so there is no such build-time knob
in Git. I.e., you can either use the uploadpack.packObjectsHook feature,
or you will have to make a custom patch yourself.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help