git fsck exit code?
- From
David Turner <dturner@twopensource.com>
- Date
- Aug 27, 2014, 22:10 UTC
- Message-ID
- <1409177412.15185.3.camel@leckie>
It looks like git fsck exits with 0 status even if there are some errors. The only case where there's a non-zero exit code is if verify_pack reports errors -- but not e.g. fsck_object_dir.
Is that really the intended behavior? I think it would be nice to at least support --exit-code (but probably a sensible exit code ought to be the default).