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

Provide filtering options in the Diff tab (Files changed) of the Compare branches page

XMLWordPrintable

    • 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.

      Problem Definition

      Users can compare branches by going to the Branches page of the repository > select the 3 dots under the Actions column for a branch > select Compare.

      The tab Diff in the Compare page shows all changed files in the source branch without filtering options. Some users would like to filter these and see e.g. only files with certain extensions. With large diffs, this would help to focus only on the files one is interested in.

      Suggested Solution

      Provide filtering options in the Diff tab of the Compare page, so users can select certain files or filter by file extension.

      Workaround

      There is no workaround for this on Bitbucket Cloud website.

      Users can filter the diff locally with a command like

      git diff main...feature -- **/*.ts
      

              Unassigned Unassigned
              tboudale Theodora Boudale (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: