Empty state is wrong when comparing merge request versions
Steps to reproduce
- push an empty commit to a merge request or squash existing commits
- click
Compare with previous versionon discussion tab
Example Project
What is the current bug behavior?
The top of the changes tab mentions Changes between latest version and version ... but the empty state claims No changes between ... and master (which is wrong):
What is the expected correct behavior?
Display No changes between latest version and version ... in the empty state.
