1. 03 Sep, 2023 1 commit
  2. 24 Apr, 2023 1 commit
  3. 06 Sep, 2022 1 commit
  4. 27 Jul, 2022 1 commit
  5. 28 Jun, 2022 2 commits
  6. 27 Jun, 2022 1 commit
  7. 27 Jun, 2020 3 commits
    • repository: do not expose grafting mechanism · 79af0676
      Currently, we expose the function `git_repository_shallow_roots` to get
      all grafted roots of the repository. This already paints us into a
      corner, though, as we certainly need to experiment with some
      functionality of the grafting mechanism before we can happily expose
      some of its functionality. Most importantly, we need to get right when
      to refresh grafts and when not.
      
      Thus, this commit removes the public function with no public
      replacement. We should first try and see what usecases people come up
      with to e.g. expose the `git_grafts` mechanism directly in the future
      or do something different altogether. Instead, we provide an internal
      interface to get weak pointers to the grafting structs part of the
      repository itself.
      Patrick Steinhardt committed
    • repository: reuse grafts for shallow roots · a11026ec
      The shallow roots are in fact another user of the grafting mechanism,
      and in essence they do use the same file format for grafted commits.
      Thus, instead of hand-coding the parsing logic a second time, we can
      just reuse the `git_grafts` structure for shallow commits, as well.
      Patrick Steinhardt committed
    • tests: graft commits · d54c0081
      Etienne Samson committed