From: Junio C Hamano Date: Fri, 02 Aug 2013 16:41:52 GMT Subject: Re: [regression] Re: git-cat-file --batch reversion; cannot query filenames with spaces Message-ID: <7vtxj8oxin.fsf@alter.siamese.dyndns.org> In-Reply-To: <20130802115906.GA9183@sigill.intra.peff.net> Jeff King writes: > On Fri, Aug 02, 2013 at 03:54:02AM -0700, Jeff King wrote: > >> We need to revert that commit before the release. It can either be >> replaced with: >> >> 1. A "--split" (or similar) option to use the behavior only when >> desired. >> >> 2. Enabling splitting only when %(rest) is used in the output format. > > Of the two, I think the latter is more sensible; the former is > unnecessarily placing the burden on the user to match "--split" with > their use of "%(rest)". The second is pointless without the first. > > A patch to implement (2) is below. As I'd queue this on top of the revert, I had to wrangle it a bit to make it relative, i.e. "this resurrects what the other reverted patch did but in a weaker/safer form". This will be kept outside this cycle. Thanks for a quick fix.