When checking for git availability, we check the cat-file command capabilities with git cat-file -h. This command exits with code 129 (expected behavior). This logs a warning in the output log, which when cooking content ends up in the list of warnings at the end.
This pull request adds support for custom return codes in RunCommandInternalRaw so that we can pass in an expected non zero code.
Didn't cascade the argument from the higher-level methods for now. The argument defaults to zero to maintain the same behavior.
When checking for git availability, we check the cat-file command capabilities with
git cat-file -h
. This command exits with code 129 (expected behavior). This logs a warning in the output log, which when cooking content ends up in the list of warnings at the end.This pull request adds support for custom return codes in
RunCommandInternalRaw
so that we can pass in an expected non zero code. Didn't cascade the argument from the higher-level methods for now. The argument defaults to zero to maintain the same behavior.