When viewing a "pull" request, I click on "diff". I see a list of file names on the left and the differences for the file I clicked on the right.
The file name colors are brown, blue-grey, green, light blue-grey, and red. I can guess that red means a file was removed. But, what about the other colors? What do they indicate?
Hi Tia,
In the diff view there is a file tree showing all of the changes for that pull request. The colour of a particular file indicates the file change type:
Git is used to determine what the change type of a file is. See "git help diff-tree" for more information.
A bolded file indicates that you have not yet viewed that file since the last time it was changed. Clicking on a file will unbold it, and it will remain unbolded unless a commit is pushed to the source branch of the pull request which modifies that file.
Kind regards,
Stefan Petrucev
Atlassian Bitbucket
Hi @Stefan is there like an update maybe here for 2020?
or maybe there is a duplicate I see double brown
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I believe the second brown should be Orange./MOVED.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I find the idea of highlighting a copied file a bit weird...
If I use an existing file as a template for a new file, then all I've really done is create a new file. Is it really important that I copied a file to get the new file?
In fact, it's confusing - since it flags all the changes between the original file and the new file, it looks like I've royally screwed up an existing file!
What is the point of differentiating between a newly-composed file and a copied-then-edited file? What am I missing?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Exactly, all it should show for the new file is only the new file contents.
I was confused regarding the changes which were being highlighted, looks like they have messed up on this
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.