Re: [RFC/PATCH v2 0/4] A new library for plumbing output

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jakub Narebski
Date: Wednesday, April 14, 2010 - 12:10 pm

On Mon, 12 April 2010, Sverre Rabbelier wrote:

I don't think it is needed for either command.

'git blame' has --porcelain and --incremental output, which is line-based
and pretty much self-describing (with "header-name value" syntax for most
of it), and well documented.  JSON output would only add unnecessary
chatter and different quoting rules.

'git for-each-ref' has both --format=<format> to allow to get data what
one needs, and in the format one wants (with e.g. %00 to reresent NUL),
and [--shell|--perl|--python|--tcl] for placeholders in <format> to be
quoted as string literals suitable for specified host language.  Although
I am not sure if this option, meant to produce scriptlets, is used that
much/ note that there is not support for --json quoting, nor --xml 
escaping.

-- 
Jakub Narebski
Poland
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC/PATCH v2 0/4] A new library for plumbing output, Julian Phillips, (Sun Apr 11, 4:21 pm)
Re: [RFC/PATCH v2 0/4] A new library for plumbing output, Sverre Rabbelier, (Sun Apr 11, 4:35 pm)
Re: [RFC/PATCH v2 0/4] A new library for plumbing output, Jakub Narebski, (Wed Apr 14, 12:10 pm)
Re: [RFC/PATCH v2 0/4] A new library for plumbing output, Sverre Rabbelier, (Wed Apr 14, 12:13 pm)
Re: [RFC/PATCH v2 0/4] A new library for plumbing output, Junio C Hamano, (Wed Apr 14, 12:32 pm)
Re: [RFC/PATCH v2 0/4] A new library for plumbing output, Jakub Narebski, (Wed Apr 14, 1:12 pm)
Re: [RFC/PATCH v2 0/4] A new library for plumbing output, Junio C Hamano, (Wed Apr 14, 1:38 pm)
Re: [RFC/PATCH v2 0/4] A new library for plumbing output, Julian Phillips, (Wed Apr 14, 1:57 pm)
Re: [RFC/PATCH v2 0/4] A new library for plumbing output, Jakub Narebski, (Wed Apr 14, 2:16 pm)
Re: [RFC/PATCH v2 0/4] A new library for plumbing output, Julian Phillips, (Wed Apr 14, 2:28 pm)
Re: [RFC/PATCH v2 0/4] A new library for plumbing output, Jakub Narebski, (Wed Apr 14, 2:29 pm)
Re: [RFC/PATCH v2 0/4] A new library for plumbing output, Junio C Hamano, (Wed Apr 14, 2:34 pm)
Re: [RFC/PATCH v2 0/4] A new library for plumbing output, Jakub Narebski, (Wed Apr 14, 2:42 pm)
Re: [RFC/PATCH v2 0/4] A new library for plumbing output, Jakub Narebski, (Thu Apr 15, 2:07 am)
Re: [RFC/PATCH v2 0/4] A new library for plumbing output, Jakub Narebski, (Sat Apr 17, 6:02 am)