Pulls the three warning calls and the dirty-tree check out of the publish RunE closure into a single helper so a refactor that drops one warning can be caught by a fixture-based test.
Pulls the three warning calls and the dirty-tree check out of the publish RunE closure into a single helper so a refactor that drops one warning can be caught by a fixture-based test.