Skip to content
Snippets Groups Projects

CommitService.GetTreeEntries: remove root_oid

Merged Georges Racinet requested to merge topic/default/gitlab-16.0.pre into branch/default
  1. Sep 20, 2023
    • Georges Racinet's avatar
      CommitService.GetTreeEntries: remove root_oid · eef65d4b
      Georges Racinet authored
      Of course this requires an update of the base image, to get a Gitaly past
      the point when `root_oid` is removed from protocol. We could run locally
      the Comparison tests with 16.0.0, which is simpler to reference than an
      exact commit, so we'll try this.
      
      The length of the first response in `test_compare_get_tree_entries_pagination`
      by Gitaly changes, perhaps because each `TreeEntry` is a bit smaller (we've long
      suspected the streaming logic was based on actual size hints), but we did not
      check that.
      
      Closes #151
      eef65d4b
    • Georges Racinet's avatar
      RefService: remove PackRefs method · 60137290
      Georges Racinet authored
      It is removed from the protocol in Gitaly v16.0, all what we were doing
      is avoiding to return an error to the sender anyway.
      60137290
Loading