From: Ramkumar Ramachandra Date: Wed, 10 Jul 2013 15:29:51 GMT Subject: Re: [PATCH 08/10] cat-file: split --batch input lines on whitespace Message-ID: In-Reply-To: <20130710114828.GH21963@sigill.intra.peff.net> Jeff King wrote: > git rev-list --objects HEAD | > git cat-file --batch-check='%(objectsize) %(text)' If anything, I would have expected %(rest), not %(text). This atom is specific to commands that accept input via stdin (i.e. not log, f-e-r, branch, or anything else I can think of). Also, this makes me wonder if %(field:0), %(field:1), and probably %(field:@) are good ideas. Even if we go down that road, I don't think %(rest) is a problem per-se.