quit on merge failure