It turns out that the problem occurs specifically when one shelves files that are added but not yet committed.
It turns out that the problem occurs specifically when one shelves files that are added but not yet committed.