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

Enable uploadpack.allowReachableSHA1InWant


    • Icon: Suggestion Suggestion
    • Resolution: Done
    • 5.5.0
    • Git Hosting
    • None
    • 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.

      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.

            bturner Bryan Turner (Inactive)
            xguan Xiao Di Guan (Inactive)
            12 Vote for this issue
            15 Start watching this issue