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

Re: More git status --porcelain lossage

From: Simon <hidden>
Date: 2016-06-15 22:48:36

A format properly designed for script parseability should use even use
whitespace as a field separator.

Why?

Because if you do that, front ends *will* do field analysis using a
naive split-on-whitespace operation.  And then...someday...someone
will try to run one of these of these on a volume from a system where
filenames contain embedded whitespace.  Like Mac OS X or Windows.
Why not use an XML output?
Plain text is easier to parse, but XML may give this extra durability
you are looking for?

Simon
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help