Pre-branch switch commit