Customize branch merge