Restrictive convenantWatch this thread
Then I get confused. I'm assuming that G is buying (or has bought) the servient land from M.
If J sells the dominant land to G (who is now also the owner of the servient land ); the covenant comes to an end.
However, I suspect that this is not what you mean. Can you make the facts a little clearer?