[PATCH v2 0/2] lifting upload-archive restrictions
- From
Jeff King <peff@peff.net>
- Date
- Feb 28, 2014, 09:56 UTC
- Message-ID
- <20140228095619.GA11803@sigill.intra.peff.net>
- In-Reply-To
- <20140228090709.GB11709@sigill.intra.peff.net>
On Fri, Feb 28, 2014 at 04:07:09AM -0500, Jeff King wrote:
Show 9 quoted lines
> > As this does not affect local use of "git archive", "requested by > > refnames" may need to be clarified further. Perhaps "remote > > archives can be requested only for published refnames" or something. > > I was hoping to be vague. If we really want to get into specifics, we > should probably document the current rules (refnames, and sub-trees of > refnames). It might be a good thing to document that anyway, though. And > by doing so, it would become obvious why one would want to set this > option. I'll see what I can come up with.
Here's a series to handle this; I think the end result is much nicer. I ended up calling the option "uploadarchive.allowUnreachable". By moving it there instead of under "archive", it is more clear that this is about the _serving_ end of the remote connection, and the word "remote" becomes redundant.
[1/2]: docs: clarify remote restrictions for git-upload-archive [2/2]: add uploadarchive.allowUnreachable option
-Peff