1. Bitbucket
  2. Public Issue Tracker
  3. master
  4. Issues


Issue #9280 duplicate

Supress Diff for certain files (Improve Pull Request Performance)

Adam Proctor
created an issue

Github will suppress the diff of certain files (Gemfile.lock, binary files over a certain size), which helps with performance for code reviewers when viewing pull requests or commit diffs.

I suggest Bitbucket adds the ability for projects to configure a blacklist of files they wish to not automatically load the diff of in the webview. Like Github's treatment of Gemfile.lock, you could add a link to show the diff, which would load the content via AJAX. I think it's important for performance that these supressed diffs are lazy loaded rather than hidden in CSS.

See screenshot for simple concept.

And for configuration, we could just have a textfield that accepts file patterns similar to .gitignore