From: Jeff King Date: Thu, 28 Apr 2016 15:39:02 GMT Subject: Re: [PATCH v5 2/2] submodule: pass on http.extraheader config settings Message-ID: <20160428153902.GF31063@sigill.intra.peff.net> In-Reply-To: On Thu, Apr 28, 2016 at 08:37:10AM -0700, Jacob Keller wrote: > I think I prefer a blacklist approach, since it reduces the need for > future changes, since most cases will either not put config on the > environment or (based on feedback on the mailing list and bug reports) > the user will believe it should be applied. > > A black list which only removed configurations we know are harmful > would be easier to maintain but risks new additions forgetting to do > so. A whitelist means we only fix things as they come up but also > means we aren't "breaking" anything that works today, where as a > blacklist could break something that works today. I think the key thing with a blacklist is somebody has to go to the work to audit the existing keys. -Peff