Compare feature doesn't show diff when the compare branch is behind the base branch #58472
Unanswered
ERElli
asked this question in
Pull Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Bug
Body
Possible bug when using the Compare feature.
The compare feature seems to behave like
git diff
so it feels weird that there is not diff shown when the compare branch is behind the base branch.I would expect that compare would show the code subtractions instead of telling me there is nothing to compare. From this, I would assume that the two branches are equal which is clearly not the case.
![image](https://private-user-images.githubusercontent.com/32199063/246855725-df6f5201-2225-44b5-a785-9f4cae578350.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk5MjYxMjYsIm5iZiI6MTcxOTkyNTgyNiwicGF0aCI6Ii8zMjE5OTA2My8yNDY4NTU3MjUtZGY2ZjUyMDEtMjIyNS00NGI1LWE3ODUtOWY0Y2FlNTc4MzUwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzAyVDEzMTAyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJmMjUyMDg1YzZmNDM2OWQwYTBiYTFkMDJjOTRmZjczNjg4NzE1NjE1Yzk3YjhiYTVhZWU4YWJiZGUzODk1ODQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.SgeHj_0hZkadArSxR9nKrDEzCrMxnMRkLIiCV9PBwdA)
Steps to reproduce:
https://github.com/{path-to-your-repo}/compare
Beta Was this translation helpful? Give feedback.
All reactions