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 votes

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
Community showcase
Published Mar 14, 2019 in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

...ipe.sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

265 views 0 12
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