We've been seeing a dialog pop up when using SourceTree with a particular Git repository of ours, with the error message:
'Summary' failed with code 128: fatal: unable to read tree 152c27e57424de6ae0df1f0d32feba7beae6e2fb
The error message pops up multiple times per day.
There is no additional information in the log, and we can't reproduce the error message using Git on the command line. When we run a few tests:
Craig@DEMO-PC /d/project (major)
$ git cat-file -t 152c27e
tree
Craig@DEMO-PC /d/project (major)
$ git cat-file -p 152c27e
040000 tree 174f073109a9d0721b35e84140d0a7b29dc48ef9 main
040000 tree fb011d0153c1521441d583196a93f945dcb0df1e test
A run of git ls-tree -r 152c27e
spits out all the children of the tree, which confirms it is the src
folder of our Java project.
Further, a git fsck --full
succeeds without errors. The objects and object directories are 100% in shape, and there are no dangling items. Permissions for the objects seem fine.
Is there anything we can do to double-check the status of our repository, or to attempt to reproduce the error message?