Minor simplification
Never record a merge from a Git ref into itself

That's just silly and meaningless, since the source commit is already
an ancestor