Finish implementing delete_old_branches