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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,751 views 1 5
Read article

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