Re: [PATCH] archive: add archive.restrictRemote option

2014-02-28 Thread Junio C Hamano
Jeff King writes: > On Thu, Feb 27, 2014 at 10:37:30AM -0800, Junio C Hamano wrote: > >> > Signed-off-by: Jeff King >> >> Thanks. >> >> Do GitHub people have general aversion against signing off (or >> sending out, for that matter) their own patches, unless they were >> already active here bef

Re: [PATCH] archive: add archive.restrictRemote option

2014-02-28 Thread Jeff King
On Thu, Feb 27, 2014 at 10:37:30AM -0800, Junio C Hamano wrote: > > Signed-off-by: Jeff King > > Thanks. > > Do GitHub people have general aversion against signing off (or > sending out, for that matter) their own patches, unless they were > already active here before they joined GitHub, by the

Re: [PATCH] archive: add archive.restrictRemote option

2014-02-27 Thread Junio C Hamano
Jeff King writes: > From: Scott J. Goldman > > In commit ee27ca4, we started restricting remote git-archive > invocations to only accessing reachable commits. This > matches what upload-pack allows, but does restrict some > useful cases (e.g., HEAD:foo). We loosened this in 0f544ee, > which allo

[PATCH] archive: add archive.restrictRemote option

2014-02-26 Thread Jeff King
From: Scott J. Goldman In commit ee27ca4, we started restricting remote git-archive invocations to only accessing reachable commits. This matches what upload-pack allows, but does restrict some useful cases (e.g., HEAD:foo). We loosened this in 0f544ee, which allows `foo:bar` as long as `foo` is