Re: Fetch-hooks
- From
Jeff King <peff@peff.net>
- Date
- Feb 14, 2018, 01:38 UTC
- Message-ID
- <20180214013848.GB25188@sigill.intra.peff.net>
- In-Reply-To
- <20180212192327.GA209601@google.com>
On Mon, Feb 12, 2018 at 11:23:27AM -0800, Brandon Williams wrote:
Show 5 quoted lines
> Maybe this isn't helpful but you may be able to implement this by using > a remote-helper. The helper could perform any sort of caching it needed > to prevent re-downloading large amounts of data that is potentially > thrown away, while only sending through the relevant commits which > satisfy some criteria (signed, etc.).
Interesting idea, though it would still be calling git-fetch under the hood, right? So I guess we're just reimplementing this "quarantine" concept, but in theory we'd have the flexibility to store that quarantine in another one-off sub-repository (instead of a special ref namespace, though I suppose you could use the special ref namespace, too).
I suspect it could work, but there would probably be a lot of rough edges.
-Peff