Uploaded image for project: 'Bitbucket Server'
  1. Bitbucket Server
  2. BSERV-8268

Enable uploadpack.allowReachableSHA1InWant

    XMLWordPrintable

    Details

    • Feedback Policy:
      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

      Git v2.5.0 introduced uploadpack.allowReachableSHA1InWant, which allows fetching any commit from a remote repository as long as that commit is reachable from at least one ref. This can be useful for grabbing smaller subsets of large repositories at specific commits.

      Since allowReachableSHA1InWant only allows access to commits reachable from at least one ref, it's not exposing any commits to which a remote client would not already have access; it just means they can fetch such commits directly, rather than having to fetch a ref (which may include a significant amount of unnecessary data in the resulting pack) and then checkout the desired commit.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              bturner Bryan Turner
              Reporter:
              xguan Xiao Di Guan (Inactive)
              Votes:
              12 Vote for this issue
              Watchers:
              16 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but there is no synchronization info for this issue.