I have two servers which I'm running the command
git fsck on specific bitbucket repository.
in both servers, I'm getting this output:
Checking object directories: 100% (256/256), done. error: object directory /XXX/XXX/XXX/XXXX/XXX/objects does not exist; check .git/objects/info/alternates. error: HEAD: invalid sha1 pointer fda39345603cdbab032ac57635405fc90d827f3c error: refs/heads/master does not point to a valid object! notice: No default references
however, when running
echo $?, one of them returns 0 and the other returns 2. how is it possible?