Closed simolus3 closed 2 months ago
Relying on the specific text seems generally less than ideal so switching to something more robust seems like a good idea
Looks like --porcelain
gives a much more reliable output (no output means clean). Easy fix so I will send something out.
A low priority issue, but I wanted to mention it since it did just bite me. The output of
git status
is localized, but_gitIsClean()
only considers the working tree to be clean if it containsnothing to commit, working tree clean
. Mine actually outputs this:I think
build_verify
uses a command that list changed files, asserting that the output is empty. That might be more reliable to work around this issue, or perhaps theLANG
environment variable should be set explicitly before invokinggit
.