Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-10032

Optionally disable diffs for specific files in a pull request

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      We've got a few repositories which keep "built" css and javascript files checked in. We need to check these files in so our package manager (component) is able to access them at install-time, rather than forcing it to pre-process our stylesheets/templates (stylus, less, jade, whatever).

      My request is that we can somehow tell the pull request view (https://bitbucket.org/user/repo/pull-request/XYZ/) to not display a diff on a few specific files. This could be a setting at the "Create pull request" step, the repository settings panel.. anywhere, really. This would make code reviews significantly easier and much faster.

      An example repo structure would look like this:

      $ tree
      .
      ├── Makefile
      ├── Readme.md
      ├── cache.js
      ├── component.json
      ├── example.html
      ├── index.js
      ├── package.json
      ├── style.css # ignore diff
      ├── style.styl # show diff
      ├── template.jade # show diff
      ├── template.js # ignore diff
      ├── test
      │   ├── cache.js
      │   ├── generator.js
      │   └── index.html
      └── test-server.pid
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            Anonymous Anonymous
            Votes:
            63 Vote for this issue
            Watchers:
            61 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: