We've noticed that when .rc2 files are included in the revision, nothing is displayed in the code review in Crucible, but it could just be displayed as a text file. Is it possible to change some setting to get it to show up?
Whether a file is considered binary or not, depends mostly on the SCM being used. The SCMs in turn usually determine this based on presence of non-printable characters in the file.
For SVN this depends on the "svn:mime-type" property of the file. Anything starting with 'text/' will be considered text. You can modify the default mime/types for files by extension, by editing the raw-mime.types file (see this knowledge base article).
The setting I've mentioned above is only relevant for SVN, so no need to reindex. For git we determine whether the file is binary based on the results of the 'git diff' command. If git diff shows the file as binary, we consider it binary. You might be able to override git's diff behavior for files with specific extensions by creating a gitattributes file - see https://www.kernel.org/pub/software/scm/git/docs/gitattributes.html
Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...
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!
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