Re: [PATCH 1/3] serve: pass "config context" through to individual commands
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 16, 2018, 11:12 UTC
- Message-ID
- <xmqqo99lbu9o.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <20181216102544.GA13704@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 8 quoted lines
> Yeah, I agree that such a "pass this through" struct full of options and > context would make sense. I just wouldn't tie it to the "serve" > machinery. > > Did you read the side-thread between me and Jonathan? Another option > here is to just have ls-refs assume that the client will tell it the > context (and assume uploadpack for now, since that's all that v2 > currently does).
Yes, I'd be 100% happy with that, too. And it certainly is simpler.
Thanks.
P.S. I expect to be mostly offline for the coming 72 hours, as I and my wife are both down with a cold. I am guessing that we will enter slower weeks in many parts of the world, and hoping this won't be too disruptive.