Patrick Steinhardt <ps@xxxxxx> writes: > - Reorder patches 6 and 7 such that we first correct `is_root_ref()`, > and then adapt `is_headref()`. > > - Furthermore, I have inlined `is_headref()` into `is_root_ref()` > completely now as it didn't have any users anymore. This does look like a good change, relative to the previous iteration. The code paths gets greatly simplified.