Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-12184

Automatic merge should use git sparse checkouts

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • Pull Request - Merge
    • None
    • 1
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      The documentation for the "Merge" button on a pull request suggests that it runs `git clone`, then performs the merge as configured in the project/repo settings.

      For extra-large repos (especially those using a monorepo setup), it should be possible to use git sparse checkouts when performing the merge. Since the set of files modified in the pull request is known, only those need to be checked out.

      Attachments

        Activity

          People

            Unassigned Unassigned
            eb78d3fc5e4e Gasparovic, Andrew
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: