files showing in pull requests that I didn't change

image.pngIn the above screenshot, I had only modified Main.html. We create our branch from master, and merge it to dev for testing. The pull requests is showing 4 extra files in the DIFF that I didn't modify. This has never happened before. Is there a reason for this or is it a bug? 

Also sometimes it shows differences in pull request when there aren't actually any differences. 

 

2 answers

0 vote

Your pull request might have a merge, which brings in changes that you didn't actually do.

Click the dropdown under "Show diff of" header and pick your commit to see the diff for your changes. You can use that dropdown to separate changes for each commit in the PR.

I have figured out that all those additional files that are showing in the pull request are from a "revert merge" commit made in master. How do we fix this issue? We are seeing unnecessary files in every pull request. 

Thanks for the reply. 

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

171 views 20 8
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you