Added a message if we compare two refs equal to the same commit.
Created by: infomaniac50
I only know a little bit about ruby so if there is anything obviously wrong with this code please let me know. I tested this against the current stable v2.8 branch. This pull request references issue #1506