git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Jeff King <peff@peff.net>
To: Xheroz 128 <kenneth.951218@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Git extra hook, pre-upload
Date: Sun, 6 Jan 2019 01:07:48 -0500	[thread overview]
Message-ID: <20190106060748.GA3935@sigill.intra.peff.net> (raw)
In-Reply-To: <A842150D-2A45-4ABB-9B0F-DF516F7A2737@gmail.com>

[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

      parent reply	other threads:[~2019-01-06  6:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-30 20:11 Git extra hook, pre-upload Xheroz 128
2018-12-30 21:34 ` Ævar Arnfjörð Bjarmason
2019-01-02 17:27   ` Junio C Hamano
2019-01-03  7:29   ` Jeff King
     [not found]     ` <A842150D-2A45-4ABB-9B0F-DF516F7A2737@gmail.com>
2019-01-06  6:07       ` Jeff King [this message]

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

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190106060748.GA3935@sigill.intra.peff.net \
    --to=peff@peff.net \
    --cc=git@vger.kernel.org \
    --cc=kenneth.951218@gmail.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).