I think it would be appropriate for `AutomaticMergeFailed` and `AutomaticBuildFailed` to inherit from a common base class, as suggested [here](https://github.com/mhagger/git-imerge/issues/58#issuecomment-38075472).  After all, they both represent a failure of an automatic merge, albeit for different reasons.  The base class could also manage the commit arguments.