From: Sverre Rabbelier Date: Sun, 11 Apr 2010 18:26:00 GMT Subject: Re: [RFC/PATCH 2/3] add a library of code for producing structured output Message-ID: In-Reply-To: <7vy6gtonwt.fsf@alter.siamese.dyndns.org> Heya, On Sun, Apr 11, 2010 at 20:16, Junio C Hamano wrote: > I was hoping that the existing low-level -z routines (e.g. "diff-* -z") > follow similar enough patterns to have a corresponding output-z.c and be > handled inside output.c library.  But that is not a requirement, just > "would have been nicer if the original were written that way". I like that idea, I think it would make our plumbing interface more consistent, and further validate the API design. Any plumbing command (once converted) can then be used with -z (or --format=zero or whatever it is) and give a similar output format, very nice. -- Cheers, Sverre Rabbelier