Closed jonathanmorley closed 8 years ago
git diff --exit-code sometimes gives the wrong exit code, but only when running in rake. git status --porcelain provides the same checks as the clean? and committed? methods, but appears to be more stable.
git diff --exit-code
git status --porcelain
clean?
committed?
git diff --exit-code
sometimes gives the wrong exit code, but only when running in rake.git status --porcelain
provides the same checks as theclean?
andcommitted?
methods, but appears to be more stable.