We probably can use git merge infrastructure with some kind of stub to do this.
We probably can use git merge infrastructure with some kind of stub to do this.