Re: More git status --porcelain lossage
- From
- Simon <turner25@gmail.com>
- Date
- Apr 10, 2010, 18:48 UTC
- Message-ID
- <l2k5f14cf5e1004101148h5cf8dc4bm1836cf1c5fc8abfb@mail.gmail.com>
- In-Reply-To
- <20100409190601.47B37475FEF@snark.thyrsus.com>
Show 9 quoted lines
> 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