Linus Torvalds [off-list ref] writes:
... one thing that I
started wondering about was whether the problem Florian saw was about one
of the files he had done "git add" on, or whether it was a tree entry that
was the result of "find_subtree()".
Same here.
Historically, cache-tree had issues that same corner case codepaths forgot
invalidating subtrees when they should that could have led to kinds of
bugs that are hard to diagnose. I think the API got harder to make that
kind of mistakes while we squashed those bugs, though.