Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: [regression] Re: git-cat-file --batch reversion; cannot query filenames with spaces

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:58:17

Jeff King [off-list ref] writes:
On Fri, Aug 02, 2013 at 03:54:02AM -0700, Jeff King wrote:
quoted
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help