I'm getting errors like
error: remote unpack failed: error Missing tree 303f2006e325c9665c23e722fccf5c83f1c97d3b
or
error: remote unpack failed: error Missing blob 4966483667bd342047378b6c9d90f860d8e1ae86
when running git review.
E.g.
$ git review You are about to submit multiple commits. This is expected if you are submitting a commit that is dependent on one or more in-review commits, or if you are submitting multiple self-contained but dependent changes. Otherwise you should consider squashing your changes into one commit before submitting (for indivisible changes) or submitting from separate branches (for independent changes). The outstanding commits are: 4a2f27198e (HEAD -> review/gerg_tisza/641590) Structure test for Job constructors 4044e7f460 Document Job's required constructor signature Do you really want to submit the above commits? Type 'yes' to confirm, other to cancel: yes error: remote unpack failed: error Missing tree 303f2006e325c9665c23e722fccf5c83f1c97d3b fatal: Unpack error, check server log To ssh://gerrit.wikimedia.org:29418/mediawiki/core.git ! [remote rejected] HEAD -> refs/for/master%topic=641590 (n/a (unpacker error)) error: failed to push some refs to 'ssh://tgr@gerrit.wikimedia.org:29418/mediawiki/core.git'
This one was immediately after checking out the patch with git review -d and amending it, so the local and remote repo can't possibly disagree on parentage.
Rebasing helps, but it also makes for ugly diffs, so this is a bit of an annoyance.
(git 2.17.1, git-review 1.27.0)