Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH 1/2] status: really ignore config with --porcelain

From: Matthieu Moy <hidden>
Date: 2016-06-15 22:57:53

Junio C Hamano [off-list ref] writes:
My knee-jerk reaction is that, because the
"--porcelain" output was designed to be extensible and scripts
reading from it is expected to ignore what it does not understand,
if the setting of status.branch is a problem, the reading side is
buggy and needs to be fixed.
It is extensible in the sense that the caller can provide more
command-line options to get more output (i.e. say --branch --porcelain),
but providing different results for the same call because of the
configuration file is broken IMHO.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help